Commit bc6716a5 authored by Julien Minet's avatar Julien Minet
Browse files

fix deprecations: remove array in setAllowedTypes

parent eeff93c8
Pipeline #46067 failed with stages
in 1 minute and 19 seconds
......@@ -104,9 +104,7 @@ class ReportType extends AbstractType
'cFGroup',
));
$resolver->setAllowedTypes(array(
'cFGroup' => 'Chill\CustomFieldsBundle\Entity\CustomFieldsGroup',
));
$resolver->setAllowedTypes('cFGroup', 'Chill\CustomFieldsBundle\Entity\CustomFieldsGroup');
$this->appendScopeChoicesOptions($resolver);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment