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', // 是否延迟