@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Simplex; |
4 | 4 |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | /** |
4 | 4 | * This file is part of the Simplex package. |
@@ -30,34 +30,34 @@ discard block |
||
30 | 30 | ContainerKeys::ENABLE_CACHE => DI\env(Environment::ENABLE_CACHE_ENV_VAR, false), |
31 | 31 | ContainerKeys::EDITOR => DI\env(Environment::EDITOR_ENV_VAR, null), |
32 | 32 | |
33 | - RegisterExceptionHandler::class => function (ContainerInterface $c) { |
|
33 | + RegisterExceptionHandler::class => function(ContainerInterface $c) { |
|
34 | 34 | return new RegisterExceptionHandler( |
35 | 35 | (bool) $c->get(ContainerKeys::DEBUG_MODE), |
36 | 36 | (string) $c->get(ContainerKeys::EDITOR) |
37 | 37 | ); |
38 | 38 | }, |
39 | 39 | |
40 | - LoadRoutes::class => function (ContainerInterface $c) { |
|
40 | + LoadRoutes::class => function(ContainerInterface $c) { |
|
41 | 41 | return new LoadRoutes($c); |
42 | 42 | }, |
43 | 43 | |
44 | - MatchRoute::class => function (ContainerInterface $c) { |
|
44 | + MatchRoute::class => function(ContainerInterface $c) { |
|
45 | 45 | return new MatchRoute($c->get(ContainerKeys::ROUTE_COLLECTION), $c->get(RouteParamsRegistry::class)); |
46 | 46 | }, |
47 | 47 | |
48 | - DispatchController::class => function (ContainerInterface $c) { |
|
48 | + DispatchController::class => function(ContainerInterface $c) { |
|
49 | 49 | return new DispatchController($c->get(RouteParamsRegistry::class), $c); |
50 | 50 | }, |
51 | 51 | |
52 | - SetJsonResponseHeaders::class => function (ContainerInterface $c) { |
|
52 | + SetJsonResponseHeaders::class => function(ContainerInterface $c) { |
|
53 | 53 | return new SetJsonResponseHeaders(); |
54 | 54 | }, |
55 | 55 | |
56 | - RouteParamsRegistry::class => function (ContainerInterface $c) { |
|
56 | + RouteParamsRegistry::class => function(ContainerInterface $c) { |
|
57 | 57 | return new RouteParamsRegistry(); |
58 | 58 | }, |
59 | 59 | |
60 | - RouteCollectionBuilder::class => function (ContainerInterface $c) { |
|
60 | + RouteCollectionBuilder::class => function(ContainerInterface $c) { |
|
61 | 61 | return new AnnotationRouteCollectionBuilder( |
62 | 62 | (bool) $c->get(ContainerKeys::ENABLE_CACHE), |
63 | 63 | CACHE_DIRECTORY |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | /** |
4 | 4 | * This file is part of the Simplex package. |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | /** |
4 | 4 | * This file is part of the Simplex package. |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | /** |
4 | 4 | * This file is part of the Simplex package. |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | /** |
4 | 4 | * This file is part of the Simplex package. |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | /** |
4 | 4 | * This file is part of the Simplex package. |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | { |
62 | 62 | $this->compileContainer = true; |
63 | 63 | $this->compiledContainerDirectory = $compiledContainerDirectory; |
64 | - $this->compiledContainerClassName = ucfirst($this->environment) . self::CONTAINER_CLASS_SUFFIX; |
|
64 | + $this->compiledContainerClassName = ucfirst($this->environment) . self::CONTAINER_CLASS_SUFFIX; |
|
65 | 65 | |
66 | 66 | $this->phpDiContainerBuilder->enableCompilation( |
67 | 67 | $this->compiledContainerDirectory->getPathname(), |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Simplex; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Simplex; |
4 | 4 |