Skip to content

Commit

Permalink
Stop jsonrainbow#386 sneaking in alongside another PR backport
Browse files Browse the repository at this point in the history
  • Loading branch information
erayd committed Mar 21, 2017
1 parent fbeb472 commit e4788cd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/JsonSchema/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ class Validator extends BaseConstraint
*/
public function validate(&$value, $schema = null, $checkMode = null)
{
// reset errors prior to validation
$this->reset();

// make sure $schema is an object
if (is_array($schema)) {
$schema = self::arrayToObjectRecursive($schema);
Expand Down

0 comments on commit e4788cd

Please sign in to comment.