|
@@ -38,12 +38,12 @@ |
|
|
block discarded – undo |
|
38
|
38
|
|
|
39
|
39
|
private function configureEvents(EventDispatcherInterface $eventDispatcher): void |
|
40
|
40
|
{ |
|
41
|
|
- $this->listNodeProcessor[UseUse::class] = static function (Node $node) use ($eventDispatcher) { |
|
|
41
|
+ $this->listNodeProcessor[UseUse::class] = static function(Node $node) use ($eventDispatcher) { |
|
42
|
42
|
/** @var UseUse $node */ |
|
43
|
43
|
return $eventDispatcher->dispatch(new FoundUseNamespace($node->getStartLine(), $node->name->toCodeString())); |
|
44
|
44
|
}; |
|
45
|
45
|
|
|
46
|
|
- $this->listNodeProcessor[FullyQualified::class] = static function (Node $node) use ($eventDispatcher) { |
|
|
46
|
+ $this->listNodeProcessor[FullyQualified::class] = static function(Node $node) use ($eventDispatcher) { |
|
47
|
47
|
/** @var FullyQualified $node */ |
|
48
|
48
|
return $eventDispatcher->dispatch(new FoundUseNamespace($node->getStartLine(), $node->toCodeString())); |
|
49
|
49
|
}; |
Please login to merge, or discard this patch.