diff --git a/src/Security/Authorization/Voter/UserAclVoter.php b/src/Security/Authorization/Voter/UserAclVoter.php index ef736dcbf..2954935a7 100644 --- a/src/Security/Authorization/Voter/UserAclVoter.php +++ b/src/Security/Authorization/Voter/UserAclVoter.php @@ -14,10 +14,10 @@ namespace Sonata\UserBundle\Security\Authorization\Voter; use Sonata\UserBundle\Model\UserInterface; +use Symfony\Component\Security\Acl\Voter\AclVoter; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; -use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface; -final class UserAclVoter implements VoterInterface +final class UserAclVoter extends AclVoter { public function supportsClass($class): bool {