eee
This commit is contained in:
+1
-2
@@ -18,13 +18,12 @@ class ArrayValidator extends BaseValidator
|
||||
{
|
||||
|
||||
/**
|
||||
* @param string $field
|
||||
* @param mixed $value
|
||||
* @return bool
|
||||
*
|
||||
* 检查
|
||||
*/
|
||||
public function trigger(string $field, mixed $value): bool
|
||||
public function trigger(mixed $value): bool
|
||||
{
|
||||
return is_array($value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user