@@ -22,11 +22,11 @@ |
||
| 22 | 22 | |
| 23 | 23 | protected function getDateTimeFromJson($val = null) : ?DateTimeImmutable |
| 24 | 24 | { |
| 25 | - if(!$val) { |
|
| 25 | + if (!$val) { |
|
| 26 | 26 | return null; |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | - if($val instanceof DateTimeImmutable) { |
|
| 29 | + if ($val instanceof DateTimeImmutable) { |
|
| 30 | 30 | return $val; |
| 31 | 31 | } |
| 32 | 32 | |