@@ -21,8 +21,6 @@ |
||
21 | 21 | * @test |
22 | 22 | * |
23 | 23 | * @param $app |
24 | - * @param array $meta |
|
25 | - * @param array $state |
|
26 | 24 | * @param $parameters |
27 | 25 | */ |
28 | 26 | public function testRender() |
@@ -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 | } |