From de1c0be1a491773705e73c77a8eaedc26c364efa Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sun, 2 May 2021 04:35:16 +0800 Subject: [PATCH] modify --- Annotation/Loader.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Annotation/Loader.php b/Annotation/Loader.php index a8790ddf..7d4ad84e 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -241,7 +241,6 @@ class Loader extends BaseObject if (in_array($key, $outPath)) { continue; } - var_export($_path); $this->execute($_path); } } catch (Throwable $exception) { @@ -307,10 +306,10 @@ class Loader extends BaseObject $annotation = Snowflake::getAnnotation(); foreach ($classes as $className) { $annotations = $this->_classes[$className] ?? null; + var_export($annotations); if ($annotations === null) { continue; } - var_export($annotations); if (($reflect = $this->getRelect($annotations)) === null) { continue; } @@ -331,7 +330,6 @@ class Loader extends BaseObject } } } - unset($this->_classes[$className]); } }