From 364c638d81a5032b46550106dbde751e5ee02366 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sun, 11 Apr 2021 16:54:46 +0800 Subject: [PATCH] modify --- Annotation/Kafka.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annotation/Kafka.php b/Annotation/Kafka.php index eefe45bb..47344b8e 100644 --- a/Annotation/Kafka.php +++ b/Annotation/Kafka.php @@ -16,7 +16,7 @@ namespace Annotation; * Kafka constructor. * @param string $topic */ - public function __construct(public string $topic, public string $groupId) + public function __construct(public string $topic, public string $groupId, public ?string $brokers = null) { }