@@ -111,7 +111,7 @@ |
||
| 111 | 111 | return !empty( |
| 112 | 112 | array_filter( |
| 113 | 113 | $current, |
| 114 | - function ($cell) { |
|
| 114 | + function($cell) { |
|
| 115 | 115 | return $cell !== null; |
| 116 | 116 | } |
| 117 | 117 | ) |
@@ -338,7 +338,7 @@ |
||
| 338 | 338 | } |
| 339 | 339 | $this->dispatcher->dispatch(new ItemEvent(BaseEvent::TRANSFORM, $item, $key, $this)); |
| 340 | 340 | } catch (Exception $e) { |
| 341 | - /** @var ItemExceptionEvent $event */ |
|
| 341 | + /** @var ItemExceptionEvent $event */ |
|
| 342 | 342 | $event = $this->dispatcher->dispatch( |
| 343 | 343 | new ItemExceptionEvent(BaseEvent::TRANSFORM_EXCEPTION, $item ?? null, $key ?? null, $this, $e) |
| 344 | 344 | ); |
@@ -348,7 +348,7 @@ discard block |
||
| 348 | 348 | } |
| 349 | 349 | } |
| 350 | 350 | |
| 351 | - return static function () use ($output) { |
|
| 351 | + return static function() use ($output) { |
|
| 352 | 352 | foreach ($output as [$key, $value]) { |
| 353 | 353 | yield $key => $value; |
| 354 | 354 | } |
@@ -467,7 +467,7 @@ discard block |
||
| 467 | 467 | */ |
| 468 | 468 | protected function defaultTransformer(): callable |
| 469 | 469 | { |
| 470 | - return function ($item, $key): Generator { |
|
| 470 | + return function($item, $key): Generator { |
|
| 471 | 471 | yield $key => $item; |
| 472 | 472 | }; |
| 473 | 473 | } |
@@ -70,8 +70,8 @@ |
||
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | - * {@inheritodc} |
|
| 74 | - */ |
|
| 73 | + * {@inheritodc} |
|
| 74 | + */ |
|
| 75 | 75 | public function init(array $options = []): void |
| 76 | 76 | { |
| 77 | 77 | if (isset($options['eol'])) { |