From 667f70070606673b316dabbebcd90d377dc56346 Mon Sep 17 00:00:00 2001 From: Pierre du Plessis Date: Mon, 11 Nov 2024 19:29:18 +0200 Subject: [PATCH] Remove ContainerAwareTrait and ContainerAwareInterface --- src/Symfony/Toggle.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Symfony/Toggle.php b/src/Symfony/Toggle.php index 99b1cb7..281c292 100644 --- a/src/Symfony/Toggle.php +++ b/src/Symfony/Toggle.php @@ -16,8 +16,6 @@ use function array_merge; use SolidWorx\Toggler\Toggle as BaseToggle; use SolidWorx\Toggler\ToggleInterface; -use Symfony\Component\DependencyInjection\ContainerAwareInterface; -use Symfony\Component\DependencyInjection\ContainerAwareTrait; use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface; use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; @@ -25,10 +23,8 @@ use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface; use Symfony\Component\Security\Core\Role\RoleHierarchyInterface; -final class Toggle implements ToggleInterface, ContainerAwareInterface +final class Toggle implements ToggleInterface { - use ContainerAwareTrait; - /** * @var array */