From 6990829c2ea760ab1923907fb79b11035cbd6785 Mon Sep 17 00:00:00 2001 From: lerminou Date: Thu, 1 Apr 2021 10:49:06 +0200 Subject: [PATCH] Update references to the ContainerConfigurator follows: https://github.com/symfony/symfony/commit/e4598c2b4fea05e6b1cdb738ef14914d26dddbf1 --- .../Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php b/src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php index 52587cc7c756f..08e15d18d6b29 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php +++ b/src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php @@ -61,7 +61,7 @@ trait MicroKernelTrait * * $c->parameters()->set('halloween', 'lot of fun'); */ - //abstract protected function configureContainer(ContainerConfigurator $c): void; + //abstract protected function configureContainer(ContainerConfigurator $container): void; /** * {@inheritdoc} @@ -129,7 +129,7 @@ public function registerContainerConfiguration(LoaderInterface $loader) try { $configureContainer = new \ReflectionMethod($this, 'configureContainer'); } catch (\ReflectionException $e) { - throw new \LogicException(sprintf('"%s" uses "%s", but does not implement the required method "protected function configureContainer(ContainerConfigurator $c): void".', get_debug_type($this), MicroKernelTrait::class), 0, $e); + throw new \LogicException(sprintf('"%s" uses "%s", but does not implement the required method "protected function configureContainer(ContainerConfigurator $container): void".', get_debug_type($this), MicroKernelTrait::class), 0, $e); } $configuratorClass = $configureContainer->getNumberOfParameters() > 0 && ($type = $configureContainer->getParameters()[0]->getType()) instanceof \ReflectionNamedType && !$type->isBuiltin() ? $type->getName() : null;