Skip to content

Commit e4788cd

Browse files
committed
Stop jsonrainbow#386 sneaking in alongside another PR backport
1 parent fbeb472 commit e4788cd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/JsonSchema/Validator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ class Validator extends BaseConstraint
4242
*/
4343
public function validate(&$value, $schema = null, $checkMode = null)
4444
{
45-
// reset errors prior to validation
46-
$this->reset();
47-
4845
// make sure $schema is an object
4946
if (is_array($schema)) {
5047
$schema = self::arrayToObjectRecursive($schema);

0 commit comments

Comments
 (0)