This commit is contained in:
xl
2023-05-09 10:11:21 +08:00
parent b2a3c30e24
commit 30b99ad98a
2 changed files with 10 additions and 8 deletions
+4 -3
View File
@@ -14,9 +14,10 @@ class EnumValidator extends BaseValidator
public array $value = [];
/**
* @return bool
*/
/**
* @return bool
* @throws \ReflectionException
*/
public function trigger(): bool
{
return $this->_validator($this->field, function ($field, $params, $values) {