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