Skip to content

Commit

Permalink
Fix PHP7.0 incompatibility (void is introduced in 7.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeweerd committed Dec 6, 2023
1 parent b566887 commit dfafd1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/bom/class/api_boms.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ private function _validate($data)
*
* @return void
*/
private function checkRefNumbering(): void
private function checkRefNumbering()
{
$ref = substr($this->bom->ref, 1, 4);
if ($this->bom->status > 0 && $ref == 'PROV') {
Expand Down

0 comments on commit dfafd1b

Please sign in to comment.