Skip to content

Commit 3646ecb

Browse files
lerminounicolas-grekas
authored andcommitted
Update references to the ContainerConfigurator
follows: symfony/symfony@e4598c2
1 parent 0a65760 commit 3646ecb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Kernel/MicroKernelTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ trait MicroKernelTrait
6161
*
6262
* $c->parameters()->set('halloween', 'lot of fun');
6363
*/
64-
//abstract protected function configureContainer(ContainerConfigurator $c): void;
64+
//abstract protected function configureContainer(ContainerConfigurator $container): void;
6565

6666
/**
6767
* {@inheritdoc}
@@ -129,7 +129,7 @@ public function registerContainerConfiguration(LoaderInterface $loader)
129129
try {
130130
$configureContainer = new \ReflectionMethod($this, 'configureContainer');
131131
} catch (\ReflectionException $e) {
132-
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);
132+
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);
133133
}
134134

135135
$configuratorClass = $configureContainer->getNumberOfParameters() > 0 && ($type = $configureContainer->getParameters()[0]->getType()) instanceof \ReflectionNamedType && !$type->isBuiltin() ? $type->getName() : null;

0 commit comments

Comments
 (0)