@@ -158,7 +158,7 @@ |
||
158 | 158 | public function calculate() |
159 | 159 | { |
160 | 160 | $temporaryCodiceFiscale = $this->calculateSurname().$this->calculateName(). |
161 | - $this->calculateBirthDateAndGender().$this->calculateBelfioreCode(); |
|
161 | + $this->calculateBirthDateAndGender().$this->calculateBelfioreCode(); |
|
162 | 162 | $temporaryCodiceFiscale = $this->calculateOmocodia($temporaryCodiceFiscale); |
163 | 163 | |
164 | 164 | return $temporaryCodiceFiscale.$this->calculateCheckDigit($temporaryCodiceFiscale); |
@@ -284,7 +284,7 @@ |
||
284 | 284 | if (!in_array($charToCheck, $this->omocodiaCodes)) { |
285 | 285 | throw new \Exception('The codice fiscale to validate has an invalid character'); |
286 | 286 | } |
287 | - $newChar = array_search($charToCheck, $this->omocodiaCodes);; |
|
287 | + $newChar = array_search($charToCheck, $this->omocodiaCodes); ; |
|
288 | 288 | $this->codiceFiscaleWithoutOmocodia{$characterIndex} = $newChar; |
289 | 289 | } |
290 | 290 | } |