@@ -56,16 +56,14 @@ |
||
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 $variable |
64 | 63 | * @param mixed $format |
65 | 64 | * @return string|mixed |
66 | 65 | */ |
67 | - public static function date($variable, $format) |
|
68 | - { |
|
66 | + public static function date($variable, $format) { |
|
69 | 67 | if (!is_string($variable) && !$variable instanceof DateTimeInterface) { |
70 | 68 | return $variable; |
71 | 69 | } |