From b47a41ffcd993812b63b6b87c2b7cd8988f24596 Mon Sep 17 00:00:00 2001 From: nkondrashov Date: Wed, 21 Feb 2024 12:57:33 +0300 Subject: [PATCH] Fixes from reanimation demo app (#196) Co-authored-by: nkondrashov --- config/di.php | 4 ++-- src/Command/ListenAllCommand.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/di.php b/config/di.php index dcb37cbf..3af1ad8b 100644 --- a/config/di.php +++ b/config/di.php @@ -59,12 +59,12 @@ MessageSerializerInterface::class => JsonMessageSerializer::class, RunCommand::class => [ '__construct()' => [ - 'channels' => array_keys($params['yiisoft/yii-queue']['channel-definitions']), + 'channels' => array_keys($params['yiisoft/queue']['channel-definitions']), ], ], ListenAllCommand::class => [ '__construct()' => [ - 'channels' => array_keys($params['yiisoft/yii-queue']['channel-definitions']), + 'channels' => array_keys($params['yiisoft/queue']['channel-definitions']), ], ], ]; diff --git a/src/Command/ListenAllCommand.php b/src/Command/ListenAllCommand.php index f3d522d8..e94a77fe 100644 --- a/src/Command/ListenAllCommand.php +++ b/src/Command/ListenAllCommand.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Yiisoft\Yii\Queue\Command; +namespace Yiisoft\Queue\Command; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument;