Passed
Pull Request — master (#197)
by Max
11:32 queued 07:57
created
src/SavingIterator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      * @param AddingIterator   $target iterator to which the values are saved.
24 24
      */
25 25
     public function __construct(
26
-        Iterator|Closure $origin,
26
+        Iterator | Closure $origin,
27 27
         AddingIterator $target
28 28
     ) {
29 29
         /**
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
                 new ClosureReaction(
39 39
                     fn (AddingIterator $stored) => (new ValidTernary(
40 40
                         ($origin instanceof Closure) ? $origin() : $origin,
41
-                        function (Iterator $source) use ($stored) {
41
+                        function(Iterator $source) use ($stored) {
42 42
                             $temp = $stored->from($source);
43 43
                             $source->next();
44 44
                             return $temp;
Please login to merge, or discard this patch.