@@ -53,10 +53,10 @@ |
||
| 53 | 53 | public function load(): void |
| 54 | 54 | { |
| 55 | 55 | /** @var string|int $value */ |
| 56 | - $fetchValue = function ($key, $value): string {return (string)$value; }; |
|
| 56 | + $fetchValue = function($key, $value): string {return (string)$value; }; |
|
| 57 | 57 | |
| 58 | 58 | /** @var string|int $value */ |
| 59 | - $fetchKey = function ($key, $value): string {return (string)$key; }; |
|
| 59 | + $fetchKey = function($key, $value): string {return (string)$key; }; |
|
| 60 | 60 | |
| 61 | 61 | $this->collectBaseFunctions = $this->fillFromArray(\get_defined_functions()['internal'], $fetchValue); |
| 62 | 62 | $this->collectBaseInterfaces = $this->fillFromArray(\get_declared_interfaces(), $fetchValue); |
@@ -44,12 +44,12 @@ |
||
| 44 | 44 | |
| 45 | 45 | private function configure(EventDispatcherInterface $eventDispatcher): void |
| 46 | 46 | { |
| 47 | - $this->listNodeProcessor[UseUse::class] = function (Node $node) use ($eventDispatcher): object { |
|
| 47 | + $this->listNodeProcessor[UseUse::class] = function(Node $node) use ($eventDispatcher): object { |
|
| 48 | 48 | /** @var UseUse $node */ |
| 49 | 49 | return $eventDispatcher->dispatch(new FoundUseNamespace($node->getStartLine(), $node->name->toCodeString())); |
| 50 | 50 | }; |
| 51 | 51 | |
| 52 | - $this->listNodeProcessor[FullyQualified::class] = function (Node $node) use ($eventDispatcher): object { |
|
| 52 | + $this->listNodeProcessor[FullyQualified::class] = function(Node $node) use ($eventDispatcher): object { |
|
| 53 | 53 | /** @var FullyQualified $node */ |
| 54 | 54 | return $eventDispatcher->dispatch(new FoundUseNamespace($node->getStartLine(), $node->toCodeString())); |
| 55 | 55 | }; |