改名
This commit is contained in:
@@ -96,7 +96,7 @@ class Loader extends BaseObject
|
|||||||
public function getMethod(string $class, string $method = ''): mixed
|
public function getMethod(string $class, string $method = ''): mixed
|
||||||
{
|
{
|
||||||
if (!isset($this->_classes[$class])) {
|
if (!isset($this->_classes[$class])) {
|
||||||
return null;
|
return [];
|
||||||
}
|
}
|
||||||
$properties = $this->_classes[$class]['methods'];
|
$properties = $this->_classes[$class]['methods'];
|
||||||
if (!empty($property) && isset($properties[$method])) {
|
if (!empty($property) && isset($properties[$method])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user