改名
This commit is contained in:
+1
-1
@@ -133,7 +133,7 @@ class Loader extends BaseObject
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$replace = $this->getReflect($path, $namespace);
|
$replace = $this->getReflect($path, $namespace);
|
||||||
if (!$replace->getAttributes(Target::class)) {
|
if (!$replace || !$replace->getAttributes(Target::class)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$this->appendFileToDirectory($path->getRealPath(), $replace->getName());
|
$this->appendFileToDirectory($path->getRealPath(), $replace->getName());
|
||||||
|
|||||||
Reference in New Issue
Block a user