From df81cf7456f73739e91c8bf6eae08d28322feef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 22 Feb 2021 19:55:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Snowflake.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/System/Snowflake.php b/System/Snowflake.php index db5964b2..69234c1f 100644 --- a/System/Snowflake.php +++ b/System/Snowflake.php @@ -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; }