We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f587c3 + ae96700 commit aa964e1Copy full SHA for aa964e1
src/Symfony/Component/PropertyInfo/Extractor/PhpDocExtractor.php
@@ -188,7 +188,7 @@ private function getDocBlockFromProperty(string $class, string $property): ?DocB
188
return null;
189
}
190
191
- return $this->docBlockFactory->create($reflectionProperty, $this->contextFactory->createFromReflector($reflectionProperty));
+ return $this->docBlockFactory->create($reflectionProperty, $this->contextFactory->createFromReflector($reflectionProperty->getDeclaringClass()));
192
193
194
private function getDocBlockFromMethod(string $class, string $ucFirstProperty, int $type): ?array
0 commit comments