From b59fec40de2c8b16d1fa09779a7fc20bbc3c6f37 Mon Sep 17 00:00:00 2001 From: vajexal Date: Tue, 17 May 2022 01:22:18 +0300 Subject: [PATCH] inheritDoc comment --- src/phpdoc/parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phpdoc/parser.go b/src/phpdoc/parser.go index 3c130893..8b3827cb 100644 --- a/src/phpdoc/parser.go +++ b/src/phpdoc/parser.go @@ -129,7 +129,7 @@ func Parse(parser *TypeParser, doc string) Comment { ln = strings.TrimSpace(ln) // works both {@inheritdoc} and @inheritdoc comments. - if strings.Contains(ln, "@inheritdoc") { + if strings.Contains(ln, "@inheritdoc") || strings.Contains(ln, "@inheritDoc") { inherit = true continue }