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.
1 parent 81dafca commit ae96700Copy full SHA for ae96700
src/Symfony/Component/PropertyInfo/Extractor/PhpDocExtractor.php
@@ -204,7 +204,7 @@ private function getDocBlockFromProperty($class, $property)
204
return;
205
}
206
207
- return $this->docBlockFactory->create($reflectionProperty, $this->contextFactory->createFromReflector($reflectionProperty));
+ return $this->docBlockFactory->create($reflectionProperty, $this->contextFactory->createFromReflector($reflectionProperty->getDeclaringClass()));
208
209
210
/**
0 commit comments