@@ -27,7 +27,7 @@ |
||
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 |
@@ -21,7 +21,7 @@ |
||
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 | } |
@@ -21,14 +21,14 @@ |
||
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 | } |
@@ -45,7 +45,7 @@ |
||
45 | 45 | while ($this->origin->valid()) { |
46 | 46 | $target = (new ValidTernary( |
47 | 47 | $this->origin, |
48 | - function (Iterator $source) use ($target) { |
|
48 | + function(Iterator $source) use ($target) { |
|
49 | 49 | $target = $target->from($source); |
50 | 50 | $source->next(); |
51 | 51 | return $target; |
@@ -56,8 +56,7 @@ |
||
56 | 56 | { |
57 | 57 | return ( |
58 | 58 | ($this->origin->valid()) ? |
59 | - $this->cons : |
|
60 | - $this->alter |
|
59 | + $this->cons : $this->alter |
|
61 | 60 | )($this->origin); |
62 | 61 | } |
63 | 62 | } |
@@ -31,7 +31,7 @@ |
||
31 | 31 | new ClosureReaction( |
32 | 32 | fn (AddingIterator $stored) => (new ValidTernary( |
33 | 33 | $origin, |
34 | - function (Iterator $source) use ($stored) { |
|
34 | + function(Iterator $source) use ($stored) { |
|
35 | 35 | $temp = $stored->from($source); |
36 | 36 | $source->next(); |
37 | 37 | return $temp; |