quick fix: use Scope class instead of classname

This commit is contained in:
nobohan 2022-06-29 15:05:59 +02:00
parent 66baf0391c
commit f70e3b7997

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