Skip to content

Commit

Permalink
Merge pull request #40 from davgothic/bugfix/docblock-inheritance
Browse files Browse the repository at this point in the history
Allow for @inheritdoc tag with uppercase D
  • Loading branch information
dancryer authored May 11, 2021
2 parents 5227f84 + 57d506f commit 458e94d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FileParser/FileParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ protected function processDocblock($text, array $uses = [])
{
$tagCollection = $this->docblockParser->parseComment($text);

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

Expand Down

0 comments on commit 458e94d

Please sign in to comment.