Completed
Branch master (0f78a5)
by Ryota
29:19
created
src/Tests/Render/SsrRenderTest.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,6 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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([]);
Please login to merge, or discard this patch.
src/Render/SsrRender.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.