Passed
Push — master ( f0527c...21275a )
by Eric
02:01
created
src/SystemClock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * @throws DateInvalidTimeZoneException If $timezone is passed as string and is invalid.
37 37
      */
38
-    public function __construct(null|DateTimeZone|string $timezone = null)
38
+    public function __construct(null | DateTimeZone | string $timezone = null)
39 39
     {
40 40
         if (!$timezone instanceof DateTimeZone) {
41 41
             $timezone ??= 'UTC';
Please login to merge, or discard this patch.
src/FrozenClock.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,9 @@  discard block
 block discarded – undo
23 23
  */
24 24
 final class FrozenClock implements ClockInterface
25 25
 {
26
-    public function __construct(private DateTimeImmutable $now) {}
26
+    public function __construct(private DateTimeImmutable $now)
27
+    {
28
+}
27 29
 
28 30
     /**
29 31
      * @inheritDoc
@@ -51,7 +53,8 @@  discard block
 block discarded – undo
51 53
          * Ignoring the phpstan error for now. PHPStan and Psalm appear to fight over this a bit.
52 54
          * Look further into it in the future.
53 55
          */
54
-        if ($newNow !== false) { // @phpstan-ignore notIdentical.alwaysTrue
56
+        if ($newNow !== false) {
57
+// @phpstan-ignore notIdentical.alwaysTrue
55 58
             $this->setTo($newNow);
56 59
         }
57 60
     }
Please login to merge, or discard this patch.