From 087cba00b09b6973aa1ac6e2a45e221e458092b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 19 Apr 2021 16:35:41 +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/Loader.php | 2 -- HttpServer/Route/Node.php | 1 - 2 files changed, 3 deletions(-) diff --git a/Annotation/Loader.php b/Annotation/Loader.php index 66e16dfd..ced4324a 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -233,7 +233,6 @@ class Loader extends BaseObject $path = '/' . trim($path, '/'); foreach ($this->_directory as $key => $_path) { $key = '/' . trim($key, '/'); - var_dump($key . '->' . $path); if (!str_starts_with($key, $path)) { continue; } @@ -395,7 +394,6 @@ class Loader extends BaseObject return; } foreach ($classes as $className) { - var_dump($className); $annotations = $this->_classes[$className] ?? null; if ($annotations === null) { continue; diff --git a/HttpServer/Route/Node.php b/HttpServer/Route/Node.php index 2bc0bbf8..c5264728 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -561,7 +561,6 @@ class Node extends HttpService private function runWith(): mixed { $requestParams = func_get_args(); - var_dump(...$requestParams); if (count($requestParams) > 0) { return call_user_func($this->callback, ...$requestParams); } else {