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