Passed
Push — master ( 208b44...c1c034 )
by Eric
09:21
created
src/FrozenClock.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,9 @@
 block discarded – undo
21 21
  */
22 22
 final class FrozenClock implements ClockInterface
23 23
 {
24
-    public function __construct(private \DateTimeImmutable $now) {}
24
+    public function __construct(private \DateTimeImmutable $now)
25
+    {
26
+}
25 27
 
26 28
     /**
27 29
      * @inheritDoc
Please login to merge, or discard this patch.
src/SystemClock.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,8 @@
 block discarded – undo
38 38
         if (\is_string($timezone)) {
39 39
             try {
40 40
                 $timezone = new \DateTimeZone($timezone);
41
-            } catch (\Throwable $throwable) { // \Exception < PHP 8.3, \DateInvalidTimeZoneException >= PHP 8.3
41
+            } catch (\Throwable $throwable) {
42
+// \Exception < PHP 8.3, \DateInvalidTimeZoneException >= PHP 8.3
42 43
                 throw new \DateInvalidTimeZoneException($throwable->getMessage(), (int) $throwable->getCode(), $throwable);
43 44
             }
44 45
         }
Please login to merge, or discard this patch.