@@ -29,8 +29,7 @@ |
||
29 | 29 | try { |
30 | 30 | $datetime = |
31 | 31 | $input instanceof DateTimeInterface ? |
32 | - $input : |
|
33 | - new DateTimeImmutable($input); |
|
32 | + $input : new DateTimeImmutable($input); |
|
34 | 33 | |
35 | 34 | return $datetime > $this->now; |
36 | 35 | } catch (Throwable) { |