diff --git a/Annotation/Route/Socket.php b/Annotation/Route/Socket.php index a728b08e..278db1bc 100644 --- a/Annotation/Route/Socket.php +++ b/Annotation/Route/Socket.php @@ -41,10 +41,7 @@ use Snowflake\Snowflake; /** * @param array $handler * @return Router - * @throws ComponentException - * @throws ConfigException - * @throws ReflectionException - * @throws NotFindClassException + * @throws \Exception */ public function execute(array $handler): Router { @@ -53,6 +50,7 @@ use Snowflake\Snowflake; $method = $this->event . '::' . (is_null($this->uri) ? 'event' : $this->uri); + var_dump($method); $router->addRoute($method, $handler, 'sw::socket'); return $router;