modify plugin name

This commit is contained in:
2022-02-25 17:12:15 +08:00
parent 14dd7efda6
commit db725b710d
13 changed files with 60 additions and 60 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ class RequiredValidator extends BaseValidator
{
return $this->_validator($this->field, function ($field, $params) {
if (!isset($params[$field])) {
return $this->addError('The param :attribute not exists');
return $this->addError($field,'The param :attribute not exists');
} else {
return true;
}