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, '/'); }