This commit is contained in:
2021-02-22 19:29:08 +08:00
parent e381b491fd
commit fc10fd9d61
+3
View File
@@ -203,6 +203,9 @@ class Snowflake
public static function configure($object, $config): mixed
{
foreach ($config as $key => $value) {
if (!is_string($key)) {
continue;
}
if (!property_exists($object, $key)) {
continue;
}