@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | |
206 | 206 | \assert( |
207 | 207 | \call_user_func( |
208 | - function (array $paths): bool { |
|
208 | + function(array $paths): bool { |
|
209 | 209 | $pathsOk = true; |
210 | 210 | foreach ($paths as $path) { |
211 | 211 | $pathsOk = $pathsOk === true && \is_string($path) === true && empty($path) === false; |
@@ -301,8 +301,7 @@ discard block |
||
301 | 301 | public function withLinks(iterable $links): EncoderInterface |
302 | 302 | { |
303 | 303 | $this->links = $this->hasLinks() === false ? |
304 | - $links : |
|
305 | - $this->links = \array_merge( |
|
304 | + $links : $this->links = \array_merge( |
|
306 | 305 | $this->iterableToArray($this->getLinks()), |
307 | 306 | $this->iterableToArray($links) |
308 | 307 | ); |