@@ -26,8 +26,7 @@ |
||
26 | 26 | try { |
27 | 27 | $datetime = |
28 | 28 | $input instanceof DateTimeInterface ? |
29 | - $input : |
|
30 | - new DateTimeImmutable($input); |
|
29 | + $input : new DateTimeImmutable($input); |
|
31 | 30 | |
32 | 31 | return $datetime > $this->datetime(); |
33 | 32 | } catch (Throwable) { |
@@ -26,8 +26,7 @@ |
||
26 | 26 | try { |
27 | 27 | $datetime = |
28 | 28 | $input instanceof DateTimeInterface ? |
29 | - $input : |
|
30 | - new DateTimeImmutable($input); |
|
29 | + $input : new DateTimeImmutable($input); |
|
31 | 30 | |
32 | 31 | return $datetime < $this->datetime(); |
33 | 32 | } catch (Throwable) { |
@@ -21,8 +21,7 @@ |
||
21 | 21 | try { |
22 | 22 | $datetime = |
23 | 23 | $input instanceof DateTimeInterface ? |
24 | - $input : |
|
25 | - new DateTimeImmutable($input); |
|
24 | + $input : new DateTimeImmutable($input); |
|
26 | 25 | |
27 | 26 | return array_key_exists($this->other, $context) |
28 | 27 | && $datetime < (new DateTimeImmutable($context[$this->other])); |
@@ -21,8 +21,7 @@ |
||
21 | 21 | try { |
22 | 22 | $datetime = |
23 | 23 | $input instanceof DateTimeInterface ? |
24 | - $input : |
|
25 | - new DateTimeImmutable($input); |
|
24 | + $input : new DateTimeImmutable($input); |
|
26 | 25 | |
27 | 26 | return array_key_exists($this->other, $context) |
28 | 27 | && $datetime > (new DateTimeImmutable($context[$this->other])); |