From a00dfb7773addaf1af2349e26f554eb0ea7dd3a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 7 Mar 2024 17:58:20 +0100 Subject: [PATCH 1/1] Remove service container argument --- Extension/PackExtension.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Extension/PackExtension.php b/Extension/PackExtension.php index 6b77a49..97e3467 100644 --- a/Extension/PackExtension.php +++ b/Extension/PackExtension.php @@ -12,8 +12,8 @@ namespace Rapsys\PackBundle\Extension; use Symfony\Component\Asset\PackageInterface; -use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\HttpKernel\Config\FileLocator; + use Twig\Extension\AbstractExtension; use Rapsys\PackBundle\Parser\TokenParser; @@ -30,7 +30,7 @@ class PackExtension extends AbstractExtension { * * {@inheritdoc} */ - public function __construct(protected ContainerInterface $container, protected IntlUtil $intl, protected FileLocator $locator, protected PackageInterface $package, protected SluggerUtil $slugger, protected array $parameters) { + public function __construct(protected IntlUtil $intl, protected FileLocator $locator, protected PackageInterface $package, protected SluggerUtil $slugger, protected array $parameters) { } /** -- 2.41.1