Skip to content

Commit

Permalink
revert breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
TomK committed Aug 24, 2020
1 parent 6f3a8d5 commit 912a90b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Validators/OptionalValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,12 @@ protected function _doValidate($value): Generator
yield $error;
}
}

/**
* @return IValidator
*/
public function getValidator(): IValidator
{
return $this->_validator;
}
}

0 comments on commit 912a90b

Please sign in to comment.