mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 22:04:23 +00:00
fix deprecations: remove array in setAllowedTypes
This commit is contained in:
parent
eeff93c88a
commit
bc6716a5fd
@ -104,9 +104,7 @@ class ReportType extends AbstractType
|
|||||||
'cFGroup',
|
'cFGroup',
|
||||||
));
|
));
|
||||||
|
|
||||||
$resolver->setAllowedTypes(array(
|
$resolver->setAllowedTypes('cFGroup', 'Chill\CustomFieldsBundle\Entity\CustomFieldsGroup');
|
||||||
'cFGroup' => 'Chill\CustomFieldsBundle\Entity\CustomFieldsGroup',
|
|
||||||
));
|
|
||||||
|
|
||||||
$this->appendScopeChoicesOptions($resolver);
|
$this->appendScopeChoicesOptions($resolver);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user