@@ -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 | }; |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | interface NamespaceProtectorVisitorInterface extends NodeVisitor |
| 12 | 12 | { |
| 13 | 13 | /** |
| 14 | - * @return ResultCollectedReadable<ErrorResult> |
|
| 15 | - */ |
|
| 14 | + * @return ResultCollectedReadable<ErrorResult> |
|
| 15 | + */ |
|
| 16 | 16 | public function getStoreProcessedResult(): ResultCollectedReadable; |
| 17 | 17 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @var callable listener |
| 23 | - */ |
|
| 23 | + */ |
|
| 24 | 24 | foreach ($this->listenerProvider->getListenersForEvent($event) as $listener) { |
| 25 | 25 | // if ($event instanceof StoppableEventInterface && $event->isPropagationStopped()) { |
| 26 | 26 | // break; |