From 9a42063b928b09120ea364d632127e6cdec43e79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 17 Dec 2020 17:27:48 +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/Route/Router.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/HttpServer/Route/Router.php b/HttpServer/Route/Router.php index 17815840..f72334ff 100644 --- a/HttpServer/Route/Router.php +++ b/HttpServer/Route/Router.php @@ -177,7 +177,7 @@ class Router extends Application implements RouterInterface * @param $route * @param $handler * @return Node|null - * @throws ConfigException + * @throws */ public function socket($route, $handler): ?Node { @@ -189,7 +189,7 @@ class Router extends Application implements RouterInterface * @param $route * @param $handler * @return Node|null - * @throws ConfigException + * @throws */ public function post($route, $handler): ?Node { @@ -200,7 +200,7 @@ class Router extends Application implements RouterInterface * @param $route * @param $handler * @return Node|null - * @throws ConfigException + * @throws */ public function get($route, $handler): ?Node { @@ -210,7 +210,7 @@ class Router extends Application implements RouterInterface /** * @param $route * @param $handler - * @return mixed|Node|null + * @return Node|null * @throws */ public function options($route, $handler): ?Node @@ -234,7 +234,7 @@ class Router extends Application implements RouterInterface * @param $route * @param $handler * @return Any - * @throws ConfigException + * @throws */ public function any($route, $handler): Any { @@ -249,7 +249,7 @@ class Router extends Application implements RouterInterface * @param $route * @param $handler * @return Node|null - * @throws ConfigException + * @throws */ public function delete($route, $handler): ?Node { @@ -260,7 +260,7 @@ class Router extends Application implements RouterInterface * @param $route * @param $handler * @return Node|null - * @throws ConfigException + * @throws */ public function put($route, $handler): ?Node {