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 {