@@ -13,6 +13,9 @@ |
||
13 | 13 | private $ignoredKeys; |
14 | 14 | private $atPath; |
15 | 15 | |
16 | + /** |
|
17 | + * @param string $expectedJson |
|
18 | + */ |
|
16 | 19 | public function __construct($expectedJson) |
17 | 20 | { |
18 | 21 | $this->expectedJson = $expectedJson; |
@@ -126,7 +126,7 @@ |
||
126 | 126 | } |
127 | 127 | |
128 | 128 | if (is_array($data)) { |
129 | - return array_map(function ($data) use ($excludedKeys) { |
|
129 | + return array_map(function($data) use ($excludedKeys) { |
|
130 | 130 | return $this->excludeKeys($data, $excludedKeys); |
131 | 131 | }, $data); |
132 | 132 | } |
@@ -55,7 +55,7 @@ |
||
55 | 55 | |
56 | 56 | /** |
57 | 57 | * @param $json |
58 | - * @param null $path |
|
58 | + * @param string $path |
|
59 | 59 | * |
60 | 60 | * @return string |
61 | 61 | */ |