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;