This commit is contained in:
2021-07-21 13:51:52 +08:00
parent d7302ceba5
commit cf052cb46b
+1
View File
@@ -65,6 +65,7 @@ use Snowflake\Snowflake;
if ($method instanceof ReflectionProperty) {
return $method;
}
if (is_object($class)) $class = $class::class;
$method = Snowflake::getDi()->getClassProperty($class, $method);
if (!$method) {
return false;