Skip to content

Commit

Permalink
Merge pull request #27007 from mdeweerd/fix/php7.0-compatibility
Browse files Browse the repository at this point in the history
Fix PHP7.0 incompatibility (void is introduced in 7.1)
  • Loading branch information
eldy authored Dec 6, 2023
2 parents 3be75c5 + bcdb567 commit c5d2d22
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 @@ -546,7 +546,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 c5d2d22

Please sign in to comment.