Skip to content

Commit 1104170

Browse files
committed
PhpDocBlock - only ask immediate interfaces for PHPDocs to inherit
1 parent 9054120 commit 1104170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpDoc/PhpDocBlock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ private static function getParentReflections(ClassReflection $classReflection):
269269
$result[] = $parent;
270270
}
271271

272-
foreach ($classReflection->getInterfaces() as $interface) {
272+
foreach ($classReflection->getImmediateInterfaces() as $interface) {
273273
$result[] = $interface;
274274
}
275275

0 commit comments

Comments
 (0)