diff --git a/src/CodiceFiscale/Validator.php b/src/CodiceFiscale/Validator.php index 0676e14..e0d2ff0 100644 --- a/src/CodiceFiscale/Validator.php +++ b/src/CodiceFiscale/Validator.php @@ -187,7 +187,7 @@ private function validateBirthDateAndGender() } $this->birthDate = new \DateTime(); - $this->birthDate->setDate($century.$year, $month, $day)->setTime(0,0,0)->format('Y-m-d'); + $this->birthDate->setDate($century.$year, $month, $day)->setTime(0, 0, 0)->format('Y-m-d'); } /**