Passed
Push — 194 ( 475f02 )
by Max
12:20
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
         parent::__construct(
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
                 new ClosureReaction(
34 34
                     fn (AddingIterator $stored) => (new ValidTernary(
35 35
                         ($origin instanceof Closure) ? $origin() : $origin,
36
-                        function (Iterator $source) use ($stored) {
36
+                        function(Iterator $source) use ($stored) {
37 37
                             $temp = $stored->from($source);
38 38
                             $source->next();
39 39
                             return $temp;
Please login to merge, or discard this patch.