mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 18:13:48 +00:00
fix deprecations: replace last fqcn in add methods for forms
This commit is contained in:
@@ -11,6 +11,7 @@ use Chill\MainBundle\Form\PermissionsGroupType;
|
||||
use Symfony\Component\Security\Core\Role\Role;
|
||||
use Symfony\Component\Security\Core\Role\RoleInterface;
|
||||
use Chill\MainBundle\Entity\Scope;
|
||||
use Chill\MainBundle\Form\Type\ComposedRoleScopeType;
|
||||
|
||||
/**
|
||||
* PermissionsGroup controller.
|
||||
@@ -491,7 +492,7 @@ class PermissionsGroupController extends Controller
|
||||
->setAction($this->generateUrl('admin_permissionsgroup_add_role_scope',
|
||||
array('id' => $permissionsGroup->getId())))
|
||||
->setMethod('PUT')
|
||||
->add('composed_role_scope', 'composed_role_scope')
|
||||
->add('composed_role_scope', ComposedRoleScopeType::class)
|
||||
->add('submit', SubmitType::class, array('label' => 'Add permission'))
|
||||
->getForm()
|
||||
;
|
||||
|
Reference in New Issue
Block a user