From 052663ea1a51ee27c124b1d1f5c11cb55f08994b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20G=C3=A9rault?= Date: Tue, 13 Jul 2021 15:27:37 +0200 Subject: [PATCH] chore: update version number --- src/AGerault/Core/Application.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/AGerault/Core/Application.php b/src/AGerault/Core/Application.php index 2448aab..a2c6064 100644 --- a/src/AGerault/Core/Application.php +++ b/src/AGerault/Core/Application.php @@ -6,13 +6,11 @@ use AGerault\Framework\Contracts\Routing\RouteCollectionInterface; use AGerault\Framework\Contracts\Services\ServiceContainerInterface; use AGerault\Framework\Routing\Route; -use AGerault\Framework\Routing\RouteCollection; -use AGerault\Framework\Services\ServiceContainer; -use Psr\Container\ContainerInterface; +use Exception; class Application implements ApplicationInterface { - protected ContainerInterface $container; + protected ServiceContainerInterface $container; protected RouteCollectionInterface $routes; public function __construct(ServiceContainerInterface $container, RouteCollectionInterface $routes) @@ -23,7 +21,7 @@ public function __construct(ServiceContainerInterface $container, RouteCollectio public function version(): string { - return '0.0.1-BETA'; + return '0.0.3-BETA'; } public function basePath($path = ''): string @@ -52,7 +50,7 @@ public function container(): ServiceContainerInterface } /** - * @throws \Exception + * @throws Exception */ public function registerRoutes(array $router): RouteCollectionInterface {