mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
changes
This commit is contained in:
parent
d4bf23bcfb
commit
3b81fa4f2f
@ -95,10 +95,11 @@ class JMSModelDescriber implements ModelDescriberInterface, ModelRegistryAwareIn
|
||||
continue;
|
||||
}
|
||||
|
||||
if(empty($model->getGroups()) || !array_key_exists($name, $model->getGroups()) || !is_array($model->getGroups()[$name]))
|
||||
if(!array_key_exists($name, $model->getGroups()) || !is_array($model->getGroups()[$name])) {
|
||||
$groups = $model->getGroups();
|
||||
else
|
||||
} else {
|
||||
$groups = $model->getGroups()[$name];
|
||||
}
|
||||
|
||||
|
||||
$property->setRef(
|
||||
|
Loading…
x
Reference in New Issue
Block a user