@@ -8,11 +8,11 @@ |
||
8 | 8 | |
9 | 9 | namespace Starlit\App; |
10 | 10 | |
11 | +use Starlit\Utils\Str; |
|
12 | +use Starlit\Utils\Url; |
|
11 | 13 | use Symfony\Component\HttpFoundation\Request; |
12 | 14 | use Symfony\Component\HttpFoundation\Response; |
13 | 15 | use Symfony\Component\Routing; |
14 | -use Starlit\Utils\Str; |
|
15 | -use Starlit\Utils\Url; |
|
16 | 16 | |
17 | 17 | /** |
18 | 18 | * Base action controller. |
@@ -257,7 +257,7 @@ |
||
257 | 257 | * Get new instance of a DIC object. |
258 | 258 | * |
259 | 259 | * @param string $key |
260 | - * @return mixed |
|
260 | + * @return null|\Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface |
|
261 | 261 | */ |
262 | 262 | public function getNew($key) |
263 | 263 | { |
@@ -8,13 +8,13 @@ |
||
8 | 8 | |
9 | 9 | namespace Starlit\App; |
10 | 10 | |
11 | +use Starlit\App\Provider\ErrorServiceProvider; |
|
12 | +use Starlit\App\Provider\ServiceProviderInterface; |
|
13 | +use Starlit\App\Provider\StandardServiceProvider; |
|
11 | 14 | use Symfony\Component\HttpFoundation\Request; |
12 | 15 | use Symfony\Component\HttpFoundation\Response; |
13 | -use Symfony\Component\Routing\Exception\ResourceNotFoundException; |
|
14 | 16 | use Symfony\Component\HttpFoundation\Session\Session; |
15 | -use Starlit\App\Provider\ServiceProviderInterface; |
|
16 | -use Starlit\App\Provider\StandardServiceProvider; |
|
17 | -use Starlit\App\Provider\ErrorServiceProvider; |
|
17 | +use Symfony\Component\Routing\Exception\ResourceNotFoundException; |
|
18 | 18 | |
19 | 19 | |
20 | 20 | /** |
@@ -8,8 +8,8 @@ |
||
8 | 8 | |
9 | 9 | namespace Starlit\App; |
10 | 10 | |
11 | -use Symfony\Component\HttpFoundation\Request; |
|
12 | 11 | use Starlit\App\ViewHelper\AbstractViewHelper; |
12 | +use Symfony\Component\HttpFoundation\Request; |
|
13 | 13 | |
14 | 14 | /** |
15 | 15 | * Class for rendering view content. |