@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Simplex\DefinitionLoader; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Simplex\DefinitionLoader; |
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 |
@@ -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. |
@@ -25,34 +25,34 @@ discard block |
||
25 | 25 | |
26 | 26 | return [ |
27 | 27 | |
28 | - RegisterExceptionHandler::class => function (ContainerInterface $c) { |
|
28 | + RegisterExceptionHandler::class => function(ContainerInterface $c) { |
|
29 | 29 | return new RegisterExceptionHandler( |
30 | 30 | (bool) $c->get(ContainerKeys::DEBUG_MODE), |
31 | 31 | (string) $c->get(ContainerKeys::EDITOR) |
32 | 32 | ); |
33 | 33 | }, |
34 | 34 | |
35 | - LoadRoutes::class => function (ContainerInterface $c) { |
|
35 | + LoadRoutes::class => function(ContainerInterface $c) { |
|
36 | 36 | return new LoadRoutes($c); |
37 | 37 | }, |
38 | 38 | |
39 | - MatchRoute::class => function (ContainerInterface $c) { |
|
39 | + MatchRoute::class => function(ContainerInterface $c) { |
|
40 | 40 | return new MatchRoute($c->get(ContainerKeys::ROUTE_COLLECTION), $c->get(RouteParamsRegistry::class)); |
41 | 41 | }, |
42 | 42 | |
43 | - DispatchController::class => function (ContainerInterface $c) { |
|
43 | + DispatchController::class => function(ContainerInterface $c) { |
|
44 | 44 | return new DispatchController($c->get(RouteParamsRegistry::class), $c); |
45 | 45 | }, |
46 | 46 | |
47 | - SetJsonResponseHeaders::class => function () { |
|
47 | + SetJsonResponseHeaders::class => function() { |
|
48 | 48 | return new SetJsonResponseHeaders(); |
49 | 49 | }, |
50 | 50 | |
51 | - RouteParamsRegistry::class => function () { |
|
51 | + RouteParamsRegistry::class => function() { |
|
52 | 52 | return new RouteParamsRegistry(); |
53 | 53 | }, |
54 | 54 | |
55 | - RouteCollectionBuilder::class => function (ContainerInterface $c) { |
|
55 | + RouteCollectionBuilder::class => function(ContainerInterface $c) { |
|
56 | 56 | return new AnnotationRouteCollectionBuilder( |
57 | 57 | (bool) $c->get(ContainerKeys::ENABLE_CACHE), |
58 | 58 | $c->get(ContainerKeys::CACHE_DIRECTORY) |