Skip to content

Commit 8be45c2

Browse files
committed
Fix linter and phpcs
1 parent 766fd64 commit 8be45c2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Mapping/Reference/ReferencesResolver.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace TypeLang\Mapper\Mapping\Reference;
66

7-
use phpDocumentor\Reflection\Types\True_;
87
use TypeLang\Mapper\Mapping\Reference\Reader\ReferencesReaderInterface;
98
use TypeLang\Parser\Node\Name;
109
use TypeLang\Parser\Node\Stmt\TypeStatement;
@@ -91,6 +90,10 @@ private function formatUseStatements(array $uses): array
9190
? \substr($fqn, $nameOffset + 1)
9291
: $fqn;
9392

93+
if ($className === '') {
94+
continue;
95+
}
96+
9497
$result[$className] = $fqn;
9598
}
9699

0 commit comments

Comments
 (0)