From b2c96aebc3b85bd0799cd285f2e53bc6978162a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 18 Sep 2020 19:27:54 +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 --- HttpServer/Events/OnHandshake.php | 1 + System/Annotation/Annotation.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Events/OnHandshake.php b/HttpServer/Events/OnHandshake.php index d6c2b7c6..1003bbe9 100644 --- a/HttpServer/Events/OnHandshake.php +++ b/HttpServer/Events/OnHandshake.php @@ -54,6 +54,7 @@ class OnHandshake extends Callback /** @var AWebsocket $manager */ $manager = Snowflake::app()->annotation->get('websocket'); + var_dump($manager->getName(AWebsocket::HANDSHAKE)); if ($manager->has($manager->getName(AWebsocket::HANDSHAKE))) { $manager->runWith($manager->getName(AWebsocket::HANDSHAKE), [$request, $response]); } else { diff --git a/System/Annotation/Annotation.php b/System/Annotation/Annotation.php index ce595066..1a613e20 100644 --- a/System/Annotation/Annotation.php +++ b/System/Annotation/Annotation.php @@ -93,7 +93,6 @@ class Annotation extends BaseAnnotation if (!$this->isLegitimate($events)) { continue; } - var_dump($this->getName($annotation, $events)); $this->push($this->getName($annotation, $events), [$controller, $methodName]); } }