@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | try { |
58 | 58 | $targetData[$this->key] = $this->parser->parse($rawValue); |
59 | 59 | } catch (ParsingException $exception) { |
60 | - throw new HydratingException([ $this->key => $exception->getInnerError() ]); |
|
60 | + throw new HydratingException([$this->key => $exception->getInnerError()]); |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | $this->validate($targetData, $object); |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | $validator->validate($parsedData[$this->key], $contextObject); |
77 | 77 | } |
78 | 78 | } catch (ValidationException $exception) { |
79 | - throw new HydratingException([ $this->key => $exception->getInnerError() ]); |
|
79 | + throw new HydratingException([$this->key => $exception->getInnerError()]); |
|
80 | 80 | } |
81 | 81 | } |
82 | 82 | } |