This commit is contained in:
as2252258@163.com
2021-05-03 03:52:20 +08:00
parent 29779d4226
commit a17c0f7661
+1 -1
View File
@@ -39,7 +39,7 @@ use Snowflake\Snowflake;
}
/** @var ReflectionProperty $class */
if ($class->isPrivate() || $class->isProtected()) {
if ($method->isPrivate() || $method->isProtected()) {
$method = 'set' . ucfirst($class->getName());
if (!method_exists($class, $method)) {
return false;