Skip to content

Commit 667f700

Browse files
authored
Remove ContainerAwareTrait and ContainerAwareInterface
1 parent 2a31e6b commit 667f700

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Symfony/Toggle.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,15 @@
1616
use function array_merge;
1717
use SolidWorx\Toggler\Toggle as BaseToggle;
1818
use SolidWorx\Toggler\ToggleInterface;
19-
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
20-
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
2119
use Symfony\Component\HttpFoundation\RequestStack;
2220
use Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface;
2321
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
2422
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
2523
use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
2624
use Symfony\Component\Security\Core\Role\RoleHierarchyInterface;
2725

28-
final class Toggle implements ToggleInterface, ContainerAwareInterface
26+
final class Toggle implements ToggleInterface
2927
{
30-
use ContainerAwareTrait;
31-
3228
/**
3329
* @var array<mixed>
3430
*/

0 commit comments

Comments
 (0)