Skip to content

Commit

Permalink
Merge pull request #48 from YouweGit/fix/compileErrorIncompatibleChec…
Browse files Browse the repository at this point in the history
…kValidity

fix: compile error incompatible checkValidity
  • Loading branch information
kjkooistra-youwe committed Apr 15, 2022
2 parents 3d29ecc + 21b1998 commit a3dd3e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/DataObject/ClassDefinition/Data/ObjectBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ public function getVersionPreview($data, $object = null, $params = [])
* @param bool $omitMandatoryCheck
* @throws \Exception
*/
public function checkValidity($data, $omitMandatoryCheck = false)
public function checkValidity($data, $omitMandatoryCheck = false, $params = [])
{
if (!$omitMandatoryCheck && $this->getMandatory() && empty($data)) {
throw new Element\ValidationException(
Expand Down

0 comments on commit a3dd3e7

Please sign in to comment.