This commit is contained in:
as2252258@163.com
2021-05-02 04:35:16 +08:00
parent fa0c4bd5dd
commit de1c0be1a4
+1 -3
View File
@@ -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]);
}
}