@@ -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); |
@@ -157,11 +157,11 @@ discard block |
||
| 157 | 157 | */ |
| 158 | 158 | public function calculate() |
| 159 | 159 | { |
| 160 | - $temporaryCodiceFiscale = $this->calculateSurname().$this->calculateName(). |
|
| 161 | - $this->calculateBirthDateAndGender().$this->calculateBelfioreCode(); |
|
| 160 | + $temporaryCodiceFiscale = $this->calculateSurname() . $this->calculateName() . |
|
| 161 | + $this->calculateBirthDateAndGender() . $this->calculateBelfioreCode(); |
|
| 162 | 162 | $temporaryCodiceFiscale = $this->calculateOmocodia($temporaryCodiceFiscale); |
| 163 | 163 | |
| 164 | - return $temporaryCodiceFiscale.$this->calculateCheckDigit($temporaryCodiceFiscale); |
|
| 164 | + return $temporaryCodiceFiscale . $this->calculateCheckDigit($temporaryCodiceFiscale); |
|
| 165 | 165 | } |
| 166 | 166 | |
| 167 | 167 | /** |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | { |
| 207 | 207 | $consonants = str_replace($this->vowels, '', strtoupper($this->subject->getName())); |
| 208 | 208 | if (strlen($consonants) > 3) { |
| 209 | - $result = $consonants[0].$consonants[2].$consonants[3]; |
|
| 209 | + $result = $consonants[0] . $consonants[2] . $consonants[3]; |
|
| 210 | 210 | } elseif (strlen($consonants) == 3) { |
| 211 | 211 | $result = implode($consonants); |
| 212 | 212 | } else { |
@@ -225,7 +225,7 @@ discard block |
||
| 225 | 225 | private function calculateSmallString($consonants, $string) |
| 226 | 226 | { |
| 227 | 227 | $vowels = str_replace(str_split($consonants), '', strtoupper($string)); |
| 228 | - $result = substr($consonants.$vowels.'XXX', 0, 3); |
|
| 228 | + $result = substr($consonants . $vowels . 'XXX', 0, 3); |
|
| 229 | 229 | return $result; |
| 230 | 230 | } |
| 231 | 231 | |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | $day += 40; |
| 244 | 244 | } |
| 245 | 245 | |
| 246 | - return $year.$month.$day; |
|
| 246 | + return $year . $month . $day; |
|
| 247 | 247 | } |
| 248 | 248 | |
| 249 | 249 | /** |