@@ -6,7 +6,9 @@ |
||
| 6 | 6 | */ |
| 7 | 7 | function lifeboat_date_formatter(string $date): ?DateTime |
| 8 | 8 | { |
| 9 | - if (!$date) return null; |
|
| 9 | + if (!$date) { |
|
| 10 | + return null; |
|
| 11 | + } |
|
| 10 | 12 | |
| 11 | 13 | try { |
| 12 | 14 | $date = new \DateTime($date . ' CET'); |