Completed
Pull Request — 1.x (#1)
by Dorian
02:34
created
src/Parser/ObjectParser.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use MetaHydrator\MetaHydrator;
8 8
 use MetaHydrator\Validator\ValidatorInterface;
9 9
 use Mouf\Hydrator\Hydrator;
10
-use Mouf\Hydrator\TdbmHydrator;
11 10
 
12 11
 /**
13 12
  * A custom class parser based on the MetaHydrator behaviour
Please login to merge, or discard this patch.
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.