This commit is contained in:
2021-02-22 19:55:58 +08:00
parent c47dc6924e
commit df81cf7456
+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)) {
var_dump(get_class($object), $config);
}
if (!property_exists($object, $key)) {
continue;
}