Merge branch '3.4' into 4.0
* 3.4: [PropertyInfo] Fix compat with recent phpdocumentor/type-resolver
This commit is contained in:
commit
aa964e1c52
@ -188,7 +188,7 @@ class PhpDocExtractor implements PropertyDescriptionExtractorInterface, Property
|
||||
return null;
|
||||
}
|
||||
|
||||
return $this->docBlockFactory->create($reflectionProperty, $this->contextFactory->createFromReflector($reflectionProperty));
|
||||
return $this->docBlockFactory->create($reflectionProperty, $this->contextFactory->createFromReflector($reflectionProperty->getDeclaringClass()));
|
||||
}
|
||||
|
||||
private function getDocBlockFromMethod(string $class, string $ucFirstProperty, int $type): ?array
|
||||
|
Reference in New Issue
Block a user