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(); }