8000 [PropertyInfo] Fix compat with recent phpdocumentor/type-resolver · symfony/symfony@ae96700 · GitHub
[go: up one dir, main page]

Skip to content

Commit ae96700

Browse files
[PropertyInfo] Fix compat with recent phpdocumentor/type-resolver
1 parent 81dafca commit ae96700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/PropertyInfo/Extractor/PhpDocExtractor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ private function getDocBlockFromProperty($class, $property)
204204
return;
205205
}
206206

207-< 51A7 /span>
return $this->docBlockFactory->create($reflectionProperty, $this->contextFactory->createFromReflector($reflectionProperty));
207+
return $this->docBlockFactory->create($reflectionProperty, $this->contextFactory->createFromReflector($reflectionProperty->getDeclaringClass()));
208208
}
209209

210210
/**

0 commit comments

Comments
 (0)
0