fix use import of scope

This commit is contained in:
Julie Lenaerts 2022-06-30 15:40:55 +02:00
parent e2634b0b0f
commit 8844e3e64a

View File

@ -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());
},