Skip to content

Commit 0c20e37

Browse files
committed
classname collision identified by scrutinizer;
1 parent 7df651d commit 0c20e37

File tree

1 file changed

+2
-2
lines changed
  • src/phpDocumentor/Reflection/Php/Factory

1 file changed

+2
-2
lines changed

src/phpDocumentor/Reflection/Php/Factory/File.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
namespace phpDocumentor\Reflection\Php\Factory;
1616

17-
use phpDocumentor\Reflection\DocBlock;
17+
use phpDocumentor\Reflection\DocBlock as DocBlockInstance;
1818
use phpDocumentor\Reflection\File as FileSystemFile;
1919
use phpDocumentor\Reflection\Fqsen;
2020
use phpDocumentor\Reflection\Middleware\ChainFactory;
@@ -160,7 +160,7 @@ protected function createFileDocBlock(
160160
?StrategyContainer $strategies = null,
161161
?Context $context = null,
162162
array $nodes = []
163-
): ?DocBlock {
163+
): ?DocBlockInstance {
164164
$node = current($nodes);
165165
if (!$node instanceof Node) {
166166
return null;

0 commit comments

Comments
 (0)