We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a66c56 commit afeb358Copy full SHA for afeb358
1 file changed
src/Validator.php
@@ -94,6 +94,7 @@ function __construct() {
94
*/
95
public function validate($data, $multiple_data=false) : bool {
96
$is_valid = true;
97
+ $this->errors = [];
98
99
//Convert users data type to array
100
if(is_object($data)) {
0 commit comments