Skip to content

Commit cea774c

Browse files
committed
Update test
1 parent 00f4776 commit cea774c

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

tests/PHPStan/Rules/PhpDoc/data/invalid-inherit-doc-tag.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ public function baseMethod(): int;
324324

325325
}
326326

327-
class InheritDocInsideBackticks
327+
class InheritDocMentionedInDescription
328328
{
329329

330330
/**
@@ -335,4 +335,12 @@ public function methodWithInheritDocInBackticks(): int
335335
return 0;
336336
}
337337

338+
/**
339+
* Foo @inheritDoc
340+
*/
341+
public function methodWithInheritDocInTextNotAtLineStart(): int
342+
{
343+
return 0;
344+
}
345+
338346
}

0 commit comments

Comments
 (0)