Passed
Push — 117 ( 7e39f0...0d896a )
by Max
03:19 queued 54s
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.
fakes/RpIteratorToArray.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     ) {
25 25
         parent::__construct(
26 26
             $source,
27
-            fn (Iterator $source): array => iterator_to_array($source)
27
+            fn(Iterator $source): array => iterator_to_array($source)
28 28
         );
29 29
     }
30 30
 }
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.
src/SavingIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         $this->target = new ContextVeil(
48 48
             $target,
49 49
             new ClosureReaction(
50
-                fn (AddingIterator $stored, string $method) => (
50
+                fn(AddingIterator $stored, string $method) => (
51 51
                     ($this->origin->valid())
52 52
                     && (isset(
53 53
                         $methods[$method]
Please login to merge, or discard this patch.