@@ -39,7 +39,7 @@ |
||
39 | 39 | ]; |
40 | 40 | |
41 | 41 | $baracoa = $this->prophesize(BaracoaInterface::class); |
42 | - $baracoa->render(Argument::any(),Argument::any(),Argument::any()) |
|
42 | + $baracoa->render(Argument::any(), Argument::any(), Argument::any()) |
|
43 | 43 | ->willReturn("string"); |
44 | 44 | |
45 | 45 | $ssr = new Ssr([]); |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | ); |
40 | 40 | } |
41 | 41 | |
42 | - private function filter(array $keys , array $parameters) |
|
42 | + private function filter(array $keys, array $parameters) |
|
43 | 43 | { |
44 | 44 | if ($keys === ['*']) { |
45 | 45 | return $parameters; |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | throw new \LogicException(implode(',', $errorKeys)); |
51 | 51 | } |
52 | 52 | |
53 | - return array_filter((array) $parameters, function ($key) use ($keys) { |
|
53 | + return array_filter((array) $parameters, function($key) use ($keys) { |
|
54 | 54 | return in_array($key, $keys); |
55 | 55 | }, ARRAY_FILTER_USE_KEY); |
56 | 56 | } |
@@ -26,7 +26,7 @@ |
||
26 | 26 | $container->setParameter('polidog_ssr.baracoa.object', $config['baracoa']['object']); |
27 | 27 | $container->setParameter('polidog_ssr.baracoa.cache_object', $config['baracoa']['cache_object']); |
28 | 28 | |
29 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
29 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
30 | 30 | $loader->load('services.yml'); |
31 | 31 | } |
32 | 32 | } |
@@ -80,7 +80,7 @@ |
||
80 | 80 | |
81 | 81 | private function getKey($key) |
82 | 82 | { |
83 | - return $this->namespace . '_' . $key; |
|
83 | + return $this->namespace.'_'.$key; |
|
84 | 84 | } |
85 | 85 | |
86 | 86 | private function getMultipleKeys($keys) |