Replace deprecated extends Controller by AbstractController

This commit is contained in:
2021-02-01 18:17:33 +01:00
parent ea0ac6dc66
commit d840deb5e2
13 changed files with 66 additions and 39 deletions

View File

@@ -4,8 +4,8 @@ namespace Chill\MainBundle\Controller;
use Chill\MainBundle\Security\RoleProvider;
use Chill\MainBundle\Templating\TranslatableStringHelper;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Chill\MainBundle\Entity\RoleScope;
use Chill\MainBundle\Entity\PermissionsGroup;
@@ -17,10 +17,11 @@ use Chill\MainBundle\Form\Type\ComposedRoleScopeType;
use Symfony\Contracts\Translation\TranslatorInterface;
/**
* PermissionsGroup controller.
* Class PermissionsGroupController
*
* @package Chill\MainBundle\Controller
*/
class PermissionsGroupController extends Controller
class PermissionsGroupController extends AbstractController
{
/**
* @var TranslatableStringHelper