From ced4c3329952b2e71cf8ed33406ab0077969c90f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 15 Dec 2020 17:04:28 +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/Server.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/HttpServer/Server.php b/HttpServer/Server.php index e2cfd589..c10fbb17 100644 --- a/HttpServer/Server.php +++ b/HttpServer/Server.php @@ -445,9 +445,6 @@ class Server extends Application return; } foreach ($aliases as $alias) { - if (!isset($alias['handler'])) { - continue; - } $handler = $alias['handler']; foreach ($alias['attributes'] as $key => $attribute) { if ($attribute instanceof IAnnotation) { @@ -474,9 +471,6 @@ class Server extends Application return; } foreach ($aliases as $alias) { - if (!isset($alias['handler'])) { - continue; - } $handler = $alias['handler']; foreach ($alias['attributes'] as $key => $attribute) { if ($attribute instanceof IAnnotation) {