Add method support

This commit is contained in:
Jaapio
2022-10-28 22:25:08 +02:00
parent cfe9845260
commit e4ac07bc40
6 changed files with 327 additions and 6 deletions
+1
View File
@@ -89,6 +89,7 @@ final class DocBlockFactory implements DocBlockFactoryInterface
$tagFactory->registerTagHandler('property', $phpstanTagFactory);
$tagFactory->registerTagHandler('property-read', $phpstanTagFactory);
$tagFactory->registerTagHandler('property-write', $phpstanTagFactory);
$tagFactory->registerTagHandler('method', $phpstanTagFactory);
$docBlockFactory = new self($descriptionFactory, $tagFactory);
foreach ($additionalTags as $tagName => $tagHandler) {