From c47dc6924e80ad2bc9cba58411b0a309fe88bac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 22 Feb 2021 19:55:25 +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 deletions(-) diff --git a/System/Snowflake.php b/System/Snowflake.php index ecac96d3..db5964b2 100644 --- a/System/Snowflake.php +++ b/System/Snowflake.php @@ -203,9 +203,6 @@ 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; }