This commit is contained in:
xl
2023-05-09 10:17:10 +08:00
parent 30b99ad98a
commit 448b1a68fc
+8 -5
View File
@@ -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) {