modify plugin name
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ class ArrayValidator extends BaseValidator
|
||||
return true;
|
||||
}
|
||||
if (!is_array($value)) {
|
||||
return $this->addError('The param :attribute must a array');
|
||||
return $this->addError($field, 'The param :attribute must a array');
|
||||
}
|
||||
return true;
|
||||
}, $this->params);
|
||||
|
||||
Reference in New Issue
Block a user