From 167114e150969891c89255eb7facc81f5d2e6906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 16 Apr 2021 15:18:38 +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 insertions(+) diff --git a/Annotation/Loader.php b/Annotation/Loader.php index 717056d8..9f28aae3 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -166,6 +166,9 @@ class Loader extends BaseObject if ($attribute->getName() == Attribute::class) { continue; } + if ($attribute->getName() == Target::class) { + continue; + } $_array['target'][] = $attribute->newInstance(); }