@@ -147,11 +147,11 @@ |
||
| 147 | 147 | $dateTime = new \DateTime(trim($dateOfBirth)); |
| 148 | 148 | $today = new \DateTime('today'); |
| 149 | 149 | if ($dateTime >= $today) { |
| 150 | - $this->dateOfBirth = null; |
|
| 150 | + $this->dateOfBirth = null; |
|
| 151 | 151 | } |
| 152 | - $this->dateOfBirth = $dateTime->format('Y-m-d'); |
|
| 152 | + $this->dateOfBirth = $dateTime->format('Y-m-d'); |
|
| 153 | 153 | } catch (\Exception $exception) { |
| 154 | - $this->dateOfBirth = null; |
|
| 154 | + $this->dateOfBirth = null; |
|
| 155 | 155 | } |
| 156 | 156 | |
| 157 | 157 | return $this; |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | /** |
| 31 | 31 | * @var array $allowedCountries |
| 32 | 32 | */ |
| 33 | - private $allowedCountries = array('IT','ES','PT','FR'); |
|
| 33 | + private $allowedCountries = array('IT', 'ES', 'PT', 'FR'); |
|
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * Configuration constructor. |