@@ -298,9 +298,9 @@ |
||
298 | 298 | $jsonObject = \json_decode($json, false); |
299 | 299 | |
300 | 300 | $mapper = new \Arrayy\Mapper\Json(); |
301 | - $mapper->undefinedPropertyHandler = static function ($object, $key, $jsonValue) use ($return) { |
|
301 | + $mapper->undefinedPropertyHandler = static function($object, $key, $jsonValue) use ($return) { |
|
302 | 302 | if ($return->checkForMissingPropertiesInConstructor) { |
303 | - throw new \TypeError('Property mismatch - input: ' . \print_r(['key' => $key, 'jsonValue' => $jsonValue], true) . ' for object: ' . \get_class($object)); |
|
303 | + throw new \TypeError('Property mismatch - input: '.\print_r(['key' => $key, 'jsonValue' => $jsonValue], true).' for object: '.\get_class($object)); |
|
304 | 304 | } |
305 | 305 | }; |
306 | 306 |