@@ -143,7 +143,7 @@ |
||
143 | 143 | * |
144 | 144 | * @param $errors The ConstraintViolationList instance. |
145 | 145 | * |
146 | - * @return Returns the response from the given errors. |
|
146 | + * @return \stdClass the response from the given errors. |
|
147 | 147 | */ |
148 | 148 | private function generateResponseFromErrors(\Symfony\Component\Validator\ConstraintViolationList $errors) |
149 | 149 | { |
@@ -122,8 +122,8 @@ |
||
122 | 122 | $subject = new CodiceFiscaleSubject($data); |
123 | 123 | |
124 | 124 | $checker = new Checker($subject, array( |
125 | - 'codiceFiscaleToCheck' => $data['codiceFiscale'], |
|
126 | - 'omocodiaLevel' => $data['omocodiaLevel'], |
|
125 | + 'codiceFiscaleToCheck' => $data['codiceFiscale'], |
|
126 | + 'omocodiaLevel' => $data['omocodiaLevel'], |
|
127 | 127 | )); |
128 | 128 | |
129 | 129 | if ($checker->check()) { |