Completed
Push — master ( 251207...ce5aa0 )
by Mathieu
02:21
created
src/AssertArrays.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      */
15 15
     public function assertArrayStructureEquals(array $structure, array $array)
16 16
     {
17
-        $structureFirstLevel = array_map(function ($value, $key) {
17
+        $structureFirstLevel = array_map(function($value, $key) {
18 18
             return is_array($value) ? $key : $value;
19 19
         }, $structure, array_keys($structure));
20 20
 
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
             $this->assertEquals($structureFirstLevel, $responseFirstLevel, '', 0.0, 10, true);
25 25
         }
26 26
 
27
-        $structureOtherLevels = array_filter($structure, function ($value) {
27
+        $structureOtherLevels = array_filter($structure, function($value) {
28 28
             return is_array($value);
29 29
         });
30 30
 
Please login to merge, or discard this patch.