From 4699ca29af101b49181e67849eedf9abdf0705f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 15 Dec 2020 17:02:43 +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/Annotation.php | 1 - HttpServer/Events/OnHandshake.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Annotation/Annotation.php b/Annotation/Annotation.php index b2a21519..b053c559 100644 --- a/Annotation/Annotation.php +++ b/Annotation/Annotation.php @@ -121,7 +121,6 @@ class Annotation extends Component $names[$attribute->getName()] = $this->instance($attribute); } - var_dump($reflect->getName(), $method->getName()); $tmp['handler'] = [$object, $method->getName()]; $tmp['attributes'] = $names; diff --git a/HttpServer/Events/OnHandshake.php b/HttpServer/Events/OnHandshake.php index 769ca25c..12763abb 100644 --- a/HttpServer/Events/OnHandshake.php +++ b/HttpServer/Events/OnHandshake.php @@ -99,6 +99,7 @@ class OnHandshake extends Callback $router = Snowflake::app()->getRouter(); $node = $router->search(Socket::HANDSHAKE . '::event', 'sw:socket'); + var_dump($node); if ($node === null) { return $this->disconnect($response, 502); }