Passed
Pull Request — master (#178)
by Max
02:31
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/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.
src/SavingIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         $this->target = new ContextVeil(
46 46
             $target,
47 47
             new ClosureReaction(
48
-                function (AddingIterator $stored) use ($origin) {
48
+                function(AddingIterator $stored) use ($origin) {
49 49
                     $res = $stored;
50 50
                     if ($origin->valid()) {
51 51
                         $res = $stored->from($origin);
Please login to merge, or discard this patch.