@@ -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. |
@@ -21,23 +21,23 @@ discard block |
||
| 21 | 21 | |
| 22 | 22 | return [ |
| 23 | 23 | |
| 24 | - MatchRoute::class => function (ContainerInterface $c) { |
|
| 24 | + MatchRoute::class => function(ContainerInterface $c) { |
|
| 25 | 25 | return new MatchRoute($c->get('route_collection'), $c->get(RouteParamsRegistry::class)); |
| 26 | 26 | }, |
| 27 | 27 | |
| 28 | - DispatchController::class => function (ContainerInterface $c) { |
|
| 28 | + DispatchController::class => function(ContainerInterface $c) { |
|
| 29 | 29 | return new DispatchController($c->get(RouteParamsRegistry::class), $c); |
| 30 | 30 | }, |
| 31 | 31 | |
| 32 | - SetJsonResponseHeaders::class => function (ContainerInterface $c) { |
|
| 32 | + SetJsonResponseHeaders::class => function(ContainerInterface $c) { |
|
| 33 | 33 | return new SetJsonResponseHeaders(); |
| 34 | 34 | }, |
| 35 | 35 | |
| 36 | - RouteParamsRegistry::class => function (ContainerInterface $c) { |
|
| 36 | + RouteParamsRegistry::class => function(ContainerInterface $c) { |
|
| 37 | 37 | return new RouteParamsRegistry(); |
| 38 | 38 | }, |
| 39 | 39 | |
| 40 | - RouteCollectionBuilder::class => function (ContainerInterface $c) { |
|
| 40 | + RouteCollectionBuilder::class => function(ContainerInterface $c) { |
|
| 41 | 41 | return new AnnotationRouteCollectionBuilder(); |
| 42 | 42 | }, |
| 43 | 43 | |
@@ -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 @@ |
||
| 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. |
@@ -142,11 +142,11 @@ discard block |
||
| 142 | 142 | private function loadDefinitions(ContainerBuilder $containerBuilder): void |
| 143 | 143 | { |
| 144 | 144 | $containerBuilder->addDefinitions(__DIR__ . '/config/services.php'); |
| 145 | - $containerBuilder->addDefinitions($this->baseDir. '/src/Shared/config/services.php'); |
|
| 145 | + $containerBuilder->addDefinitions($this->baseDir . '/src/Shared/config/services.php'); |
|
| 146 | 146 | |
| 147 | 147 | foreach ($this->modulePaths as $index => $dir) { |
| 148 | 148 | |
| 149 | - $configDir = $dir. '/config'; |
|
| 149 | + $configDir = $dir . '/config'; |
|
| 150 | 150 | if (!is_readable($configDir)) { |
| 151 | 151 | continue; |
| 152 | 152 | } |