Merge pull request #27007 from mdeweerd/fix/php7.0-compatibility

Fix PHP7.0 incompatibility (void is introduced in 7.1)
This commit is contained in:
Laurent Destailleur 2023-12-06 18:04:38 +01:00 committed by GitHub
commit c5d2d22528
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -546,7 +546,7 @@ class Boms extends DolibarrApi
*
* @return void
*/
private function checkRefNumbering(): void
private function checkRefNumbering()
{
$ref = substr($this->bom->ref, 1, 4);
if ($this->bom->status > 0 && $ref == 'PROV') {