From 8cc6b61e845fef6e902ffc0a8702dd71f5efdf75 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sat, 24 Apr 2021 20:23:52 +0800 Subject: [PATCH] modify --- Annotation/Loader.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Annotation/Loader.php b/Annotation/Loader.php index bd485dc4..337b5afc 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -175,7 +175,6 @@ class Loader extends BaseObject } $replace = Snowflake::getDi()->getReflect($this->explodeFileName($path, $namespace)); - if (empty($replace) || count($replace->getAttributes(Target::class)) < 1) { return; }