@@ -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 | } |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | /** @phpstan-ignore-next-line */ |
| 45 | 45 | $this->target = new ContextVeil( |
| 46 | 46 | $target, |
| 47 | - fn (AddingIterator $stored) => |
|
| 47 | + fn(AddingIterator $stored) => |
|
| 48 | 48 | ($this->origin->valid()) |
| 49 | 49 | ? $stored->from( |
| 50 | 50 | $this->origin |
@@ -126,7 +126,7 @@ |
||
| 126 | 126 | /** |
| 127 | 127 | * {@inheritDoc} |
| 128 | 128 | */ |
| 129 | - public function serialize(): string|null |
|
| 129 | + public function serialize(): string | null |
|
| 130 | 130 | { |
| 131 | 131 | return serialize($this->stored); |
| 132 | 132 | } |