Closed
Description
ERROR: ParamNameMismatch - src/DependencyInjection/MyExtension.php:20:59 - Argument 2 of MyExtension::load has wrong name $containerBuilder, expecting $container as defined by Symfony\Component\DependencyInjection\Extension\ExtensionInterface::load (see https://psalm.dev/230)
public function load(array $configs, ContainerBuilder $containerBuilder): void
Example given here:
public function load(array $configs, ContainerBuilder $containerBuilder)
{
// ... you'll load the files here later
}
The param is currently indeed called $container
.
Metadata
Metadata
Assignees
Labels
No labels