Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cb724f9

Browse files
author
EXT - THERAGE Kevin
committed
removing use just in case
1 parent c395238 commit cb724f9

File tree

1 file changed

+2
-3
lines changed
  • src/Symfony/Bundle/FrameworkBundle/Resources/config

1 file changed

+2
-3
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/console.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
use Symfony\Component\Console\EventListener\ErrorListener;
4343
use Symfony\Component\Dotenv\Command\DebugCommand as DotenvDebugCommand;
4444
use Symfony\Component\Messenger\Command\ConsumeMessagesCommand;
45-
use Symfony\Component\Messenger\Command\CountMessagesCommand;
4645
use Symfony\Component\Messenger\Command\DebugCommand;
4746
use Symfony\Component\Messenger\Command\FailedMessagesRemoveCommand;
4847
use Symfony\Component\Messenger\Command\FailedMessagesRetryCommand;
@@ -337,9 +336,9 @@
337336
->tag('console.command')
338337
;
339338

340-
if (class_exists(CountMessagesCommand::class)) {
339+
if (class_exists(\Symfony\Component\Messenger\Command\CountMessagesCommand::class)) {
341340
$container->services()
342-
->set('console.command.messenger_count', CountMessagesCommand::class)
341+
->set('console.command.messenger_count', \Symfony\Component\Messenger\Command\CountMessagesCommand::class)
343342
->args([
344343
service('messenger.receiver_locator'),
345344
abstract_arg('Receivers'),

0 commit comments

Comments
 (0)