Passed
Push — main ( 9c5f48...91d287 )
by Breno
01:50
created
src/Rules/DateTimeInFuture.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,7 @@
 block discarded – undo
33 33
         try {
34 34
             $datetime =
35 35
                 $input instanceof DateTimeInterface ?
36
-                    $input :
37
-                    new DateTimeImmutable($input);
36
+                    $input : new DateTimeImmutable($input);
38 37
 
39 38
             return $datetime > $this->getNow();
40 39
         } catch (Throwable) {
Please login to merge, or discard this patch.
src/Rules/DateTimeInPast.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
         try {
35 35
             $datetime =
36 36
                 $input instanceof DateTimeInterface ?
37
-                    $input :
38
-                    new DateTimeImmutable($input);
37
+                    $input : new DateTimeImmutable($input);
39 38
 
40 39
             return $datetime < $this->getNow();
41 40
         } catch (Throwable) {
Please login to merge, or discard this patch.