diff --git a/Annotation/Route/Socket.php b/Annotation/Route/Socket.php index df557327..278db1bc 100644 --- a/Annotation/Route/Socket.php +++ b/Annotation/Route/Socket.php @@ -50,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; diff --git a/HttpServer/Route/Router.php b/HttpServer/Route/Router.php index 8cfdc70b..335fab7e 100644 --- a/HttpServer/Route/Router.php +++ b/HttpServer/Route/Router.php @@ -414,7 +414,6 @@ class Router extends HttpService implements RouterInterface return $this->nodes[$method]['/'] ?? null; } $first = array_shift($explode); - var_dump($this->nodes[$method]); if (!($parent = $this->nodes[$method][$first] ?? null)) { return null; }