Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

Commit 458e94d

Browse files
authored
Merge pull request #40 from davgothic/bugfix/docblock-inheritance
Allow for @inheritdoc tag with uppercase D
2 parents 5227f84 + 57d506f commit 458e94d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FileParser/FileParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ protected function processDocblock($text, array $uses = [])
251251
{
252252
$tagCollection = $this->docblockParser->parseComment($text);
253253

254-
if ($tagCollection->hasTag('inheritdoc')) {
254+
if ($tagCollection->hasTag('inheritdoc') || $tagCollection->hasTag('inheritDoc')) {
255255
return ['inherit' => true];
256256
}
257257

0 commit comments

Comments
 (0)