Skip to content

Commit a2aa301

Browse files
committed
minor #34616 [FWBundle] Remove unused parameter (dunglas)
This PR was merged into the 4.3 branch. Discussion ---------- [FWBundle] Remove unused parameter | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 22a7f40cb8 [FWBundle] Remove unused parameter
2 parents 8a72426 + 04d5198 commit a2aa301

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public function load(array $configs, ContainerBuilder $container)
283283
}
284284

285285
if ($this->messengerConfigEnabled = $this->isConfigEnabled($container, $config['messenger'])) {
286-
$this->registerMessengerConfiguration($config['messenger'], $container, $loader, $config['serializer'], $config['validation']);
286+
$this->registerMessengerConfiguration($config['messenger'], $container, $loader, $config['validation']);
287287
} else {
288288
$container->removeDefinition('console.command.messenger_consume_messages');
289289
$container->removeDefinition('console.command.messenger_debug');
@@ -1639,7 +1639,7 @@ private function registerLockConfiguration(array $config, ContainerBuilder $cont
16391639
}
16401640
}
16411641

1642-
private function registerMessengerConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader, array $serializerConfig, array $validationConfig)
1642+
private function registerMessengerConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader, array $validationConfig)
16431643
{
16441644
if (!interface_exists(MessageBusInterface::class)) {
16451645
throw new LogicException('Messenger support cannot be enabled as the Messenger component is not installed. Try running "composer require symfony/messenger".');

0 commit comments

Comments
 (0)