Test Failed
Pull Request — master (#197)
by Max
41:58
created
src/SavingIterator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * @param AddingIterator   $target iterator to which the values are saved.
29 29
      */
30 30
     public function __construct(
31
-        Iterator|Closure $origin,
31
+        Iterator | Closure $origin,
32 32
         AddingIterator $target = new ArrayAddingIterator()
33 33
     ) {
34 34
         /**
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
                      */
55 55
                     fn (AddingIterator $stored) => (new ValidTernary(
56 56
                         ($origin instanceof Closure) ? $origin() : $origin,
57
-                        function (Iterator $source) use ($stored) {
57
+                        function(Iterator $source) use ($stored) {
58 58
                             $temp = $stored->from($source);
59 59
                             $source->next();
60 60
                             return $temp;
Please login to merge, or discard this patch.