From 215a75b8bdac2d32fa643a96ca2aae96555ccc67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 14 Apr 2021 17:36:03 +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 | 3 --- 1 file changed, 3 deletions(-) diff --git a/Annotation/Loader.php b/Annotation/Loader.php index 55bcc66d..eb9b3edf 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -355,9 +355,6 @@ class Loader extends BaseObject } foreach ($annotations['methods'] as $name => $attribute) { foreach ($attribute as $value) { - if (!($value instanceof \Annotation\Attribute)) { - continue; - } $value->execute([$annotations['handler'], $name]); } }