This commit is contained in:
2021-04-25 12:25:49 +08:00
parent afdf5f7b47
commit 40d389d13c
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -307,6 +307,9 @@ class Snowflake
public static function configure($object, $config): mixed
{
foreach ($config as $key => $value) {
if (is_numeric($key)) {
continue;
}
if (!property_exists($object, $key)) {
continue;
}