From: Raphaƫl Gertz Date: Thu, 7 Mar 2024 16:58:20 +0000 (+0100) Subject: Remove service container argument X-Git-Tag: 0.4.0~15 X-Git-Url: https://git.rapsys.eu/packbundle/commitdiff_plain/a00dfb7773addaf1af2349e26f554eb0ea7dd3a0?ds=sidebyside Remove service container argument --- 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) { } /**