Passed
Push — master ( f63c3b...e53cdf )
by Max
01:19 queued 41s
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
         $reorigin = ($origin instanceof Closure) ? $origin() : $origin;
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
                      */
56 56
                     fn (AddingIterator $stored) => (new ValidTernary(
57 57
                         $reorigin,
58
-                        function (Iterator $source) use ($stored) {
58
+                        function(Iterator $source) use ($stored) {
59 59
                             $temp = $stored->from($source);
60 60
                             $source->next();
61 61
                             return $temp;
Please login to merge, or discard this patch.