mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-07 16:29:51 +00:00
fix use import of scope
This commit is contained in:
parent
e2634b0b0f
commit
8844e3e64a
@ -87,7 +87,7 @@ class ComposedRoleScopeType extends AbstractType
|
|||||||
},
|
},
|
||||||
])
|
])
|
||||||
->add('scope', EntityType::class, [
|
->add('scope', EntityType::class, [
|
||||||
'class' => 'ChillMainBundle:Scope',
|
'class' => Scope::class,
|
||||||
'choice_label' => static function (Scope $scope) use ($translatableStringHelper) {
|
'choice_label' => static function (Scope $scope) use ($translatableStringHelper) {
|
||||||
return $translatableStringHelper->localize($scope->getName());
|
return $translatableStringHelper->localize($scope->getName());
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user