qqq
This commit is contained in:
+8
-5
@@ -10,6 +10,8 @@ declare(strict_types=1);
|
||||
namespace validator;
|
||||
|
||||
|
||||
use ReflectionException;
|
||||
|
||||
/**
|
||||
* Class ArrayValidator
|
||||
* @package validator
|
||||
@@ -17,11 +19,12 @@ namespace validator;
|
||||
class ArrayValidator extends BaseValidator
|
||||
{
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*
|
||||
* 检查
|
||||
*/
|
||||
/**
|
||||
* @return bool
|
||||
*
|
||||
* 检查
|
||||
* @throws ReflectionException
|
||||
*/
|
||||
public function trigger(): bool
|
||||
{
|
||||
return $this->_validator($this->field, function ($field, $params) {
|
||||
|
||||
Reference in New Issue
Block a user