From 8844e3e64a4550115f0277e92f0d50fc1ff3f384 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Thu, 30 Jun 2022 15:40:55 +0200 Subject: [PATCH] fix use import of scope --- src/Bundle/ChillMainBundle/Form/Type/ComposedRoleScopeType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/Form/Type/ComposedRoleScopeType.php b/src/Bundle/ChillMainBundle/Form/Type/ComposedRoleScopeType.php index 2f3378ae8..6646cd2b5 100644 --- a/src/Bundle/ChillMainBundle/Form/Type/ComposedRoleScopeType.php +++ b/src/Bundle/ChillMainBundle/Form/Type/ComposedRoleScopeType.php @@ -87,7 +87,7 @@ class ComposedRoleScopeType extends AbstractType }, ]) ->add('scope', EntityType::class, [ - 'class' => 'ChillMainBundle:Scope', + 'class' => Scope::class, 'choice_label' => static function (Scope $scope) use ($translatableStringHelper) { return $translatableStringHelper->localize($scope->getName()); },