Completed
Push — 1.x ( f93e7c...2692eb )
by Dorian
11:09 queued 09:04
created
src/Handler/SimpleHydratingHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         try {
58 58
             $parsedValue = $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($parsedValue, $object);
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
                 $validator->validate($parsedValue, $contextObject);
79 79
             }
80 80
         } catch (ValidationException $exception) {
81
-            throw new HydratingException([ $this->key => $exception->getInnerError() ]);
81
+            throw new HydratingException([$this->key => $exception->getInnerError()]);
82 82
         }
83 83
     }
84 84
 }
Please login to merge, or discard this patch.