Completed
Push — master ( 8fb3da...6fa789 )
by Mathieu
09:05
created
src/AssertArrays.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      */
17 17
     public function assertArrayStructureEquals(array $structure, array $array)
18 18
     {
19
-        $structureFirstLevel = array_map(function ($value, $key) {
19
+        $structureFirstLevel = array_map(function($value, $key) {
20 20
             return is_array($value) ? $key : $value;
21 21
         }, $structure, array_keys($structure));
22 22
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
             PHPUnit::assertEquals($structureFirstLevel, $responseFirstLevel, '', 0.0, 10, true);
27 27
         }
28 28
 
29
-        $structureOtherLevels = array_filter($structure, function ($value) {
29
+        $structureOtherLevels = array_filter($structure, function($value) {
30 30
             return is_array($value);
31 31
         });
32 32
 
Please login to merge, or discard this patch.
src/AssertJsonResponse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,11 +22,11 @@
 block discarded – undo
22 22
     {
23 23
         $trait = $this;
24 24
 
25
-        TestResponse::macro('seeJsonStructureEquals', function ($structure) use ($trait) {
25
+        TestResponse::macro('seeJsonStructureEquals', function($structure) use ($trait) {
26 26
             return $trait->seeJsonStructureEquals($structure, $this->decodeResponseJson());
27 27
         });
28 28
 
29
-        TestResponse::macro('jsonResponse', function ($key = null) use ($trait) {
29
+        TestResponse::macro('jsonResponse', function($key = null) use ($trait) {
30 30
             return $trait->jsonResponse($key, $this->decodeResponseJson());
31 31
         });
32 32
     }
Please login to merge, or discard this patch.