Skip to content

Commit 93c7fd3

Browse files
committed
Restore previous ::createDocBlockInstance()
1 parent f19c206 commit 93c7fd3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/voku/SimplePhpParser/Model/PHPParameter.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace voku\SimplePhpParser\Model;
66

7-
use phpDocumentor\Reflection\DocBlockFactory;
87
use PhpParser\Comment\Doc;
98
use PhpParser\Node\FunctionLike;
109
use PhpParser\Node\Param;
@@ -221,8 +220,7 @@ private function readPhpDoc($doc, string $parameterName): void
221220
}
222221

223222
try {
224-
$phpDoc = DocFactoryProvider::getDocFactory()->create($docComment);
225-
223+
$phpDoc = Utils::createDocBlockInstance()->create($docComment);
226224
$parsedParamTags = $phpDoc->getTagsByName('param');
227225

228226
if (!empty($parsedParamTags)) {

0 commit comments

Comments
 (0)