@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the CrossContainerExtension package. |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the CrossContainerExtension package. |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | $parameterBag->resolve(); |
50 | 50 | |
51 | 51 | // Values are automatically unescaped during resolving, need to revert it |
52 | - $parameterBag->add(array_map(function ($unescapedValue) use ($parameterBag) { |
|
52 | + $parameterBag->add(array_map(function($unescapedValue) use ($parameterBag) { |
|
53 | 53 | return $parameterBag->escapeValue($unescapedValue); |
54 | 54 | }, $parameterBag->all())); |
55 | 55 | } |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the CrossContainerExtension package. |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | */ |
50 | 50 | public function process(ContainerBuilder $container): void |
51 | 51 | { |
52 | - $container->addDefinitions(array_map(function (Definition $definition) { |
|
52 | + $container->addDefinitions(array_map(function(Definition $definition) { |
|
53 | 53 | return $this->resolveDefinition($definition); |
54 | 54 | }, $container->getDefinitions())); |
55 | 55 | |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | * |
76 | 76 | * @return array|null |
77 | 77 | */ |
78 | - private function resolveFactory(?array $factory): ?array |
|
78 | + private function resolveFactory(? array $factory) : ? array |
|
79 | 79 | { |
80 | 80 | if ([] === $factory) { |
81 | 81 | return []; |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | */ |
96 | 96 | private function resolveMethodCalls(array $methodCalls): array |
97 | 97 | { |
98 | - return array_map(function (array $methodCall) { |
|
98 | + return array_map(function(array $methodCall) { |
|
99 | 99 | return [$methodCall[0], $this->resolveArguments($methodCall[1])]; |
100 | 100 | }, $methodCalls); |
101 | 101 | } |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | */ |
108 | 108 | private function resolveArguments(array $arguments): array |
109 | 109 | { |
110 | - return array_map(function ($argument) { |
|
110 | + return array_map(function($argument) { |
|
111 | 111 | return $this->resolveArgument($argument); |
112 | 112 | }, $arguments); |
113 | 113 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the CrossContainerExtension package. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the CrossContainerExtension package. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the CrossContainerExtension package. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the CrossContainerExtension package. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the CrossContainerExtension package. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the CrossContainerExtension package. |