We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DocBlockFactory::createInstance()
1 parent 898f2c3 commit 72c9e81Copy full SHA for 72c9e81
src/voku/SimplePhpParser/Model/PHPClass.php
@@ -4,6 +4,7 @@
4
5
namespace voku\SimplePhpParser\Model;
6
7
+use phpDocumentor\Reflection\DocBlockFactory;
8
use PhpParser\Comment\Doc;
9
use PhpParser\Node\Stmt\Class_;
10
use ReflectionClass;
@@ -385,7 +386,7 @@ private function readPhpDocProperties($doc): void
385
386
}
387
388
try {
- $phpDoc = Utils::createDocBlockInstance()->create($docComment);
389
+ $phpDoc = DocBlockFactory::createInstance()->create($docComment);
390
391
$parsedPropertyTags = $phpDoc->getTagsByName('property')
392
+ $phpDoc->getTagsByName('property-read')
0 commit comments