From 1640ccf09773d10fef8ec7d6871f69bf9d11a712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 4 Mar 2021 00:44:38 +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/Socket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annotation/Route/Socket.php b/Annotation/Route/Socket.php index e24f7a35..a728b08e 100644 --- a/Annotation/Route/Socket.php +++ b/Annotation/Route/Socket.php @@ -53,7 +53,7 @@ use Snowflake\Snowflake; $method = $this->event . '::' . (is_null($this->uri) ? 'event' : $this->uri); - $router->addRoute($method . $this->version, $handler, 'sw::socket'); + $router->addRoute($method, $handler, 'sw::socket'); return $router; }