Skip to content

Commit

Permalink
Remove ContainerAwareTrait and ContainerAwareInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
pierredup authored Nov 11, 2024
1 parent 2a31e6b commit 667f700
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Symfony/Toggle.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,15 @@
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;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
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<mixed>
*/
Expand Down

0 comments on commit 667f700

Please sign in to comment.