Passed
Push — 146 ( a60514...fd2fad )
by Max
02:23
created
src/TransparentIterator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,14 +21,14 @@
 block discarded – undo
21 21
      * 
22 22
      * @var Iterator<TKey, TValue>|Indifferent<Iterator<TKey, TValue>>
23 23
      */
24
-    private Iterator|Indifferent $origin;
24
+    private Iterator | Indifferent $origin;
25 25
 
26 26
     /**
27 27
      * Ctor.
28 28
      *
29 29
      * @param Iterator<TKey, TValue>|Indifferent<Iterator<TKey, TValue>> $iterable
30 30
      */
31
-    public function __construct(Iterator|Indifferent $iterable)
31
+    public function __construct(Iterator | Indifferent $iterable)
32 32
     {
33 33
         $this->origin = $iterable;
34 34
     }
Please login to merge, or discard this patch.
src/OpenAddingIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
          * @phpstan-var Iterator<TKey, TValue>&ArrayAccess<TKey, TValue>
28 28
          * @var Iterator&ArrayAccess
29 29
          */
30
-        private Iterator|ArrayAccess $added
30
+        private Iterator | ArrayAccess $added
31 31
     ) {
32 32
     }
33 33
 
Please login to merge, or discard this patch.
src/SavingIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         /** @phpstan-ignore-next-line */
45 45
         $this->target = new ContextVeil(
46 46
             $target,
47
-            fn (AddingIterator $stored) =>
47
+            fn(AddingIterator $stored) =>
48 48
             ($this->origin->valid())
49 49
             ? $stored->from(
50 50
                 $this->origin
Please login to merge, or discard this patch.
src/SafeArrayIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
     /**
127 127
      * {@inheritDoc}
128 128
      */
129
-    public function serialize(): string|null
129
+    public function serialize(): string | null
130 130
     {
131 131
         return serialize($this->stored);
132 132
     }
Please login to merge, or discard this patch.
fakes/The.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     public function __construct(mixed $subject) {
22 22
         parent::__construct(
23 23
             $subject,
24
-            function (mixed $subject, Closure $context): mixed {
24
+            function(mixed $subject, Closure $context): mixed {
25 25
                 $context($subject);
26 26
                 return $subject;
27 27
             }
Please login to merge, or discard this patch.
fakes/Let.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     public function __construct(mixed $subject) {
23 23
         parent::__construct(
24 24
             $subject,
25
-            fn ($subject, Closure $context): mixed => $context($subject) 
25
+            fn($subject, Closure $context): mixed => $context($subject) 
26 26
         );
27 27
     }
28 28
 }
Please login to merge, or discard this patch.