mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-01 21:06:15 +03:00
Minor fix
This commit is contained in:
parent
b171794cce
commit
0414277d0a
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue