From 3effd273b412f8e8e6f90d76ff99f92ed038d26e Mon Sep 17 00:00:00 2001 From: chaz6chez Date: Thu, 1 Feb 2024 17:44:53 +0800 Subject: [PATCH] fixed #20 --- src/Builders/QueueBuilder.php | 2 +- tests/Builders/TestBuilder.php | 2 +- tests/Builders/TestBuilderDelayed.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Builders/QueueBuilder.php b/src/Builders/QueueBuilder.php index 86cf55b..ae3299b 100644 --- a/src/Builders/QueueBuilder.php +++ b/src/Builders/QueueBuilder.php @@ -111,7 +111,7 @@ class $className extends QueueBuilder * 'routing_key' => '', * ] */ - protected array \$queueConfigs = [ + protected array \$queueConfig = [ // 队列名称 ,默认由类名自动生成 'name' => '$name', // 是否延迟 diff --git a/tests/Builders/TestBuilder.php b/tests/Builders/TestBuilder.php index 93f836d..f2607ef 100644 --- a/tests/Builders/TestBuilder.php +++ b/tests/Builders/TestBuilder.php @@ -20,7 +20,7 @@ class TestBuilder extends QueueBuilder * 'routing_key' => '', * ] */ - protected array $queueConfigs = [ + protected array $queueConfig = [ // 队列名称 ,默认由类名自动生成 'name' => 'process.workbunny.rabbitmq.TestBuilder', // 是否延迟 diff --git a/tests/Builders/TestBuilderDelayed.php b/tests/Builders/TestBuilderDelayed.php index 4ebd04c..2d27cef 100644 --- a/tests/Builders/TestBuilderDelayed.php +++ b/tests/Builders/TestBuilderDelayed.php @@ -20,7 +20,7 @@ class TestBuilderDelayed extends QueueBuilder * 'routing_key' => '', * ] */ - protected array $queueConfigs = [ + protected array $queueConfig = [ // 队列名称 ,默认由类名自动生成 'name' => 'process.workbunny.rabbitmq.TestBuilderDelayed', // 是否延迟