改名
This commit is contained in:
@@ -65,6 +65,7 @@ use Snowflake\Snowflake;
|
|||||||
if ($method instanceof ReflectionProperty) {
|
if ($method instanceof ReflectionProperty) {
|
||||||
return $method;
|
return $method;
|
||||||
}
|
}
|
||||||
|
if (is_object($class)) $class = $class::class;
|
||||||
$method = Snowflake::getDi()->getClassProperty($class, $method);
|
$method = Snowflake::getDi()->getClassProperty($class, $method);
|
||||||
if (!$method) {
|
if (!$method) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user