@@ -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 | } |
@@ -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 | |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | ) { |
| 25 | 25 | parent::__construct( |
| 26 | 26 | $source, |
| 27 | - fn (Iterator $source): array => iterator_to_array($source) |
|
| 27 | + fn(Iterator $source): array => iterator_to_array($source) |
|
| 28 | 28 | ); |
| 29 | 29 | } |
| 30 | 30 | } |
@@ -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 | } |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | public function __construct(mixed $subject) { |
| 23 | 23 | parent::__construct( |
| 24 | 24 | $subject, |
| 25 | - fn ($subject, Closure $context): mixed => $context($subject) |
|
| 25 | + fn($subject, Closure $context): mixed => $context($subject) |
|
| 26 | 26 | ); |
| 27 | 27 | } |
| 28 | 28 | } |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | $this->target = new ContextVeil( |
| 48 | 48 | $target, |
| 49 | 49 | new ClosureReaction( |
| 50 | - fn (AddingIterator $stored, string $method) => ( |
|
| 50 | + fn(AddingIterator $stored, string $method) => ( |
|
| 51 | 51 | ($this->origin->valid()) |
| 52 | 52 | && (isset( |
| 53 | 53 | $methods[$method] |