@@ -29,7 +29,7 @@ |
||
29 | 29 | 'Sludio\HelperBundle\DependencyInjection\Compiler\MiddlewarePass', |
30 | 30 | 'Sludio\HelperBundle\DependencyInjection\Compiler\UrlProviderPass' |
31 | 31 | ]; |
32 | - foreach($passes as $pass){ |
|
32 | + foreach ($passes as $pass) { |
|
33 | 33 | $container->addCompilerPass(new $pass()); |
34 | 34 | } |
35 | 35 | } |
@@ -29,7 +29,7 @@ |
||
29 | 29 | 'Sludio\HelperBundle\DependencyInjection\Compiler\MiddlewarePass', |
30 | 30 | 'Sludio\HelperBundle\DependencyInjection\Compiler\UrlProviderPass' |
31 | 31 | ]; |
32 | - foreach($passes as $pass){ |
|
32 | + foreach($passes as $pass) { |
|
33 | 33 | $container->addCompilerPass(new $pass()); |
34 | 34 | } |
35 | 35 | } |
@@ -188,11 +188,11 @@ |
||
188 | 188 | ->defaultValue(null) |
189 | 189 | ->end() |
190 | 190 | ->enumNode('format') |
191 | - ->values(['simple','rich']) |
|
191 | + ->values(['simple', 'rich']) |
|
192 | 192 | ->defaultValue('simple') |
193 | 193 | ->end() |
194 | 194 | ->enumNode('type') |
195 | - ->values(['simple','gz']) |
|
195 | + ->values(['simple', 'gz']) |
|
196 | 196 | ->defaultValue('simple') |
197 | 197 | ->end() |
198 | 198 | ->end() |
@@ -7,7 +7,7 @@ |
||
7 | 7 | |
8 | 8 | interface Extension extends Configurable |
9 | 9 | { |
10 | - public function buildClientConfiguration(NodeDefinition &$node); |
|
10 | + public function buildClientConfiguration(NodeDefinition & $node); |
|
11 | 11 | |
12 | 12 | public function configureClient(ContainerBuilder $container, $clientServiceKey, array $options = []); |
13 | 13 | } |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | |
11 | 11 | class Openid implements Extension |
12 | 12 | { |
13 | - public function configure(ContainerBuilder &$container) |
|
13 | + public function configure(ContainerBuilder & $container) |
|
14 | 14 | { |
15 | 15 | $clientConfigurations = $container->getParameter('sludio_helper.openid.clients'); |
16 | 16 | $clientServiceKeys = []; |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | } |
51 | 51 | } |
52 | 52 | |
53 | - public function buildClientConfiguration(NodeDefinition &$node) |
|
53 | + public function buildClientConfiguration(NodeDefinition & $node) |
|
54 | 54 | { |
55 | 55 | $optionsNode = $node->children(); |
56 | 56 |
@@ -6,5 +6,5 @@ |
||
6 | 6 | |
7 | 7 | interface Configurable |
8 | 8 | { |
9 | - public function configure(ContainerBuilder &$container); |
|
9 | + public function configure(ContainerBuilder & $container); |
|
10 | 10 | } |
11 | 11 | \ No newline at end of file |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | |
11 | 11 | class Openidconnect implements Extension |
12 | 12 | { |
13 | - public function buildClientConfiguration(NodeDefinition &$node) |
|
13 | + public function buildClientConfiguration(NodeDefinition & $node) |
|
14 | 14 | { |
15 | 15 | $optionsNode = $node->children(); |
16 | 16 | |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | $optionsNode->end(); |
46 | 46 | } |
47 | 47 | |
48 | - private function buildUri(NodeDefinition &$node) |
|
48 | + private function buildUri(NodeDefinition & $node) |
|
49 | 49 | { |
50 | 50 | $optionsNode = $node->children(); |
51 | 51 | |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | ]); |
71 | 71 | } |
72 | 72 | |
73 | - public function configure(ContainerBuilder &$container) |
|
73 | + public function configure(ContainerBuilder & $container) |
|
74 | 74 | { |
75 | 75 | $clientConfigurations = $container->getParameter('sludio_helper.openidconnect.clients'); |
76 | 76 | $clientServiceKeys = []; |