Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
Fixes parent call to valueIsEmpty
Browse files Browse the repository at this point in the history
  • Loading branch information
leevigraham committed Jan 15, 2019
1 parent 231bb55 commit d576829
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/fields/Gender.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public function isValueEmpty($value, ElementInterface $element = null): bool
return $value->isEmpty();
}

return parent::isValueEmpty($value);
return parent::isValueEmpty($value, $element);
}

}
2 changes: 1 addition & 1 deletion src/fields/PersonName.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function isValueEmpty($value, ElementInterface $element = null): bool
return $value->isEmpty();
}

return parent::isValueEmpty($value);
return parent::isValueEmpty($value, $element);
}

}

0 comments on commit d576829

Please sign in to comment.