@@ -64,7 +64,7 @@ |
||
| 64 | 64 | * @param string $format |
| 65 | 65 | * @return string|mixed |
| 66 | 66 | */ |
| 67 | - public static function date(string|DateTimeInterface|int|null $variable, string $format): mixed |
|
| 67 | + public static function date(string | DateTimeInterface | int | null $variable, string $format): mixed |
|
| 68 | 68 | { |
| 69 | 69 | if ($variable === null) { |
| 70 | 70 | return null; |
@@ -56,8 +56,7 @@ |
||
| 56 | 56 | * @class DatetimeFilter |
| 57 | 57 | * @package Platine\Template\Filter |
| 58 | 58 | */ |
| 59 | -class DatetimeFilter extends AbstractFilter |
|
| 60 | -{ |
|
| 59 | +class DatetimeFilter extends AbstractFilter { |
|
| 61 | 60 | /** |
| 62 | 61 | * Formats a date |
| 63 | 62 | * @param string|DateTimeInterface|int|null $variable |