phpstan fix

This commit is contained in:
crazywhalecc
2025-10-20 13:43:05 +08:00
parent 5e229a0b01
commit f8801e224f
2 changed files with 1 additions and 2 deletions

View File

@@ -525,7 +525,6 @@ class ConfigValidator
'object|bool' => (is_assoc_array($value) || is_bool($value)) ?: throw new ValidationException("{$type} {$name} [{$field}] must be object or boolean"),
'object|array' => is_array($value) ?: throw new ValidationException("{$type} {$name} [{$field}] must be an object or array"),
'callable' => true, // Skip validation for callable
default => true,
};
}