From 3f8a23835fac801a8141b5bbc80f523f75d5bfff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 7 Apr 2021 11:30:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Annotation/Route/RpcProducer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Annotation/Route/RpcProducer.php b/Annotation/Route/RpcProducer.php index 21b76fca..9841fba7 100644 --- a/Annotation/Route/RpcProducer.php +++ b/Annotation/Route/RpcProducer.php @@ -26,9 +26,10 @@ use Snowflake\Snowflake; /** * Route constructor. * @param string $cmd + * @param string $protocol * @param int $port */ - #[Pure] public function __construct(public string $cmd, public int $port) + #[Pure] public function __construct(public string $cmd, public string $protocol, public int $port) { $this->uri = 'rpc/p' . $this->port . '/' . ltrim($this->cmd, '/'); }