@@ -102,8 +102,7 @@ |
||
| 102 | 102 | throw new \InvalidArgumentException('Parameter len must be null or an integer'); |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | - $removed = is_null($length) ? array_splice($this->container, $offset) : |
|
| 106 | - array_splice($this->container, $offset, $len); |
|
| 105 | + $removed = is_null($length) ? array_splice($this->container, $offset) : array_splice($this->container, $offset, $len); |
|
| 107 | 106 | |
| 108 | 107 | // if (count($removed) > 0) { |
| 109 | 108 | // $this->hacklib_expireAllIterators(); |
@@ -218,7 +218,7 @@ |
||
| 218 | 218 | { |
| 219 | 219 | /** @var VectorInterface $results */ |
| 220 | 220 | $results = new static(); |
| 221 | - $this->each(function ($subArray) use ($results) { |
|
| 221 | + $this->each(function($subArray) use ($results) { |
|
| 222 | 222 | foreach ($subArray as $item) { |
| 223 | 223 | $results->add($item); |
| 224 | 224 | } |
@@ -218,7 +218,7 @@ |
||
| 218 | 218 | { |
| 219 | 219 | /** @var VectorInterface $results */ |
| 220 | 220 | $results = new static(); |
| 221 | - $this->each(function ($subArray) use ($results) { |
|
| 221 | + $this->each(function($subArray) use ($results) { |
|
| 222 | 222 | foreach ($subArray as $item) { |
| 223 | 223 | $results->add($item); |
| 224 | 224 | } |
@@ -348,8 +348,8 @@ |
||
| 348 | 348 | { |
| 349 | 349 | /** @var VectorInterface $results */ |
| 350 | 350 | $results = new static(); |
| 351 | - $this->each(function (Enumerable $subArray) use ($results) { |
|
| 352 | - $subArray->each(function ($item) use ($results) { |
|
| 351 | + $this->each(function(Enumerable $subArray) use ($results) { |
|
| 352 | + $subArray->each(function($item) use ($results) { |
|
| 353 | 353 | $results->add($item); |
| 354 | 354 | }); |
| 355 | 355 | }); |