@@ -20,13 +20,13 @@ |
||
20 | 20 | return $hydrator->extract($this); |
21 | 21 | } |
22 | 22 | |
23 | - protected function getDateTimeFromJson(?$val) : ?DateTimeImmutable |
|
23 | + protected function getDateTimeFromJson(? $val) : ?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 |