From 448b1a68fc2e7cbff31c3e85141f96964511503c Mon Sep 17 00:00:00 2001 From: xl Date: Tue, 9 May 2023 10:17:10 +0800 Subject: [PATCH] qqq --- ArrayValidator.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/ArrayValidator.php b/ArrayValidator.php index 040a4d4..bf23d8a 100644 --- a/ArrayValidator.php +++ b/ArrayValidator.php @@ -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) {