@@ -11,8 +11,8 @@ |
||
| 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 | |
| 18 | 18 | public function clearStoredProcessedResult(): void; |
@@ -37,12 +37,12 @@ |
||
| 37 | 37 | |
| 38 | 38 | private function configure(EventDispatcherInterface $eventDispatcher): void |
| 39 | 39 | { |
| 40 | - $this->listNodeProcessor[UseUse::class] = function (Node $node) use ($eventDispatcher) { |
|
| 40 | + $this->listNodeProcessor[UseUse::class] = 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] = function (Node $node) use ($eventDispatcher) { |
|
| 45 | + $this->listNodeProcessor[FullyQualified::class] = function(Node $node) use ($eventDispatcher) { |
|
| 46 | 46 | /** @var FullyQualified $node */ |
| 47 | 47 | return $eventDispatcher->dispatch(new FoundUseNamespace($node->getStartLine(), $node->toCodeString())); |
| 48 | 48 | }; |