@@ -15,7 +15,7 @@ |
||
| 15 | 15 | |
| 16 | 16 | public function __construct(array $adapterConfiguration, VariableParser $variableParser) |
| 17 | 17 | { |
| 18 | - if (! $this->isValidConfiguration($adapterConfiguration)) { |
|
| 18 | + if (!$this->isValidConfiguration($adapterConfiguration)) { |
|
| 19 | 19 | throw InvalidConfiguration::invalidAdapterConfiguration('collection', '`variable` and `parameter`'); |
| 20 | 20 | } |
| 21 | 21 | |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | { |
| 28 | 28 | $path = self::path($path); |
| 29 | 29 | |
| 30 | - if (! file_exists(self::path($path))) { |
|
| 30 | + if (!file_exists(self::path($path))) { |
|
| 31 | 31 | return null; |
| 32 | 32 | } |
| 33 | 33 | |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | |
| 39 | 39 | public static function write(string $path, $content = null): void |
| 40 | 40 | { |
| 41 | - if (! self::$fs) { |
|
| 41 | + if (!self::$fs) { |
|
| 42 | 42 | self::$fs = new Filesystem(); |
| 43 | 43 | } |
| 44 | 44 | |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | $matcher = new UrlMatcher($routeCollection, new RequestContext()); |
| 29 | 29 | $matchingRoute = $matcher->match($this->filter); |
| 30 | 30 | |
| 31 | - $filteredConfiguration = array_filter($parsedConfiguration, function ($key) use ($matchingRoute) { |
|
| 31 | + $filteredConfiguration = array_filter($parsedConfiguration, function($key) use ($matchingRoute) { |
|
| 32 | 32 | return $key === $matchingRoute['_route']; |
| 33 | 33 | }, ARRAY_FILTER_USE_KEY); |
| 34 | 34 | |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | foreach ($configurationFiles as $configurationFile) { |
| 68 | 68 | $loadedFileConfiguration = require $configurationFile; |
| 69 | 69 | |
| 70 | - if (! is_array($loadedFileConfiguration)) { |
|
| 70 | + if (!is_array($loadedFileConfiguration)) { |
|
| 71 | 71 | continue; |
| 72 | 72 | } |
| 73 | 73 | |