Passed
Push — main ( 00f182...0f17ea )
by Breno
01:50
created
src/Rules/DateTime/DateTimeCompareWith.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,7 @@
 block discarded – undo
34 34
             $other = fn() => new DateTimeImmutable($context[$this->other]);
35 35
             $datetime =
36 36
                 $input instanceof DateTimeInterface ?
37
-                    $input :
38
-                    new DateTimeImmutable($input);
37
+                    $input : new DateTimeImmutable($input);
39 38
 
40 39
             return array_key_exists($this->other, $context)
41 40
                 && $this->compare($datetime, $this->operator, $other());
Please login to merge, or discard this patch.