mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 11:33:49 +00:00
DX: apply rector rulesset up to PHP72
This commit is contained in:
@@ -88,14 +88,14 @@ class ReportType extends AbstractType
|
||||
public function configureOptions(OptionsResolver $resolver)
|
||||
{
|
||||
$resolver->setDefaults([
|
||||
'data_class' => 'Chill\ReportBundle\Entity\Report',
|
||||
'data_class' => \Chill\ReportBundle\Entity\Report::class,
|
||||
]);
|
||||
|
||||
$resolver->setRequired([
|
||||
'cFGroup',
|
||||
]);
|
||||
|
||||
$resolver->setAllowedTypes('cFGroup', 'Chill\CustomFieldsBundle\Entity\CustomFieldsGroup');
|
||||
$resolver->setAllowedTypes('cFGroup', \Chill\CustomFieldsBundle\Entity\CustomFieldsGroup::class);
|
||||
|
||||
$this->appendScopeChoicesOptions($resolver);
|
||||
}
|
||||
|
Reference in New Issue
Block a user