mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-03-12 02:26:09 +03:00
Minor fix
This commit is contained in:
parent
b171794cce
commit
0414277d0a
@ -102,8 +102,6 @@ class JMSModelDescriber implements ModelDescriberInterface, ModelRegistryAwareIn
|
||||
try {
|
||||
if (true === $isJmsV1 && property_exists($item, 'reflection') && null !== $item->reflection) {
|
||||
$reflection = $item->reflection;
|
||||
} elseif ($item instanceof VirtualProperty) {
|
||||
$reflection = new \ReflectionProperty($item->class, $item->name);
|
||||
} else {
|
||||
$reflection = new \ReflectionProperty($item->class, $item->name);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user