@@ -17,7 +17,6 @@  | 
                                                    ||
| 17 | 17 | /**  | 
                                                        
| 18 | 18 | * FieldError constructor.  | 
                                                        
| 19 | 19 | * @Important  | 
                                                        
| 20 | - * @param string $error  | 
                                                        |
| 21 | 20 | * @param string $details  | 
                                                        
| 22 | 21 | */  | 
                                                        
| 23 | 22 | public function __construct($message = '', $details = '')  | 
                                                        
@@ -54,7 +54,7 @@  | 
                                                    ||
| 54 | 54 | |
| 55 | 55 | /**  | 
                                                        
| 56 | 56 | * @param array $data  | 
                                                        
| 57 | - * @param string $class  | 
                                                        |
| 57 | + * @param string $className  | 
                                                        |
| 58 | 58 | * @return object  | 
                                                        
| 59 | 59 | *  | 
                                                        
| 60 | 60 | * @throws HydratingException  | 
                                                        
@@ -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 | }  |