Completed
Pull Request — master (#2)
by Mathieu
06:58
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.
src/AssertJsonResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
             return $this->seeJsonStructure($structure);
53 53
         }
54 54
 
55
-        if (! $responseData) {
55
+        if (!$responseData) {
56 56
             $responseData = json_decode($this->response->getContent(), true);
57 57
         }
58 58
 
Please login to merge, or discard this patch.