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