@@ -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 |
@@ -52,7 +52,7 @@ |
||
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 |