改名
This commit is contained in:
@@ -307,9 +307,6 @@ class Snowflake
|
|||||||
public static function configure($object, $config): mixed
|
public static function configure($object, $config): mixed
|
||||||
{
|
{
|
||||||
foreach ($config as $key => $value) {
|
foreach ($config as $key => $value) {
|
||||||
if (is_numeric($key)) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (!property_exists($object, $key)) {
|
if (!property_exists($object, $key)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user