@@ -14,7 +14,7 @@ discard block |
||
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 |
||
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 | |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | return $this->seeJsonStructure($structure); |
57 | 57 | } |
58 | 58 | |
59 | - if (! $responseData) { |
|
59 | + if (!$responseData) { |
|
60 | 60 | $responseData = json_decode($this->response->getContent(), true); |
61 | 61 | } |
62 | 62 |