clean code (#36170)

* clean code

* Update bom.class.php

* Update commondocgenerator.class.php

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
Frédéric FRANCE
2025-11-09 01:19:31 +01:00
committed by GitHub
parent ca0052e82d
commit 9491d880cf
7 changed files with 50 additions and 33 deletions

View File

@@ -304,19 +304,19 @@ abstract class CommonObject
public $contact_id;
/**
* @var Societe|null A related thirdparty object
* @var ?Societe A related thirdparty object
* @see fetch_thirdparty()
*/
public $thirdparty;
/**
* @var User A related user
* @var ?User A related user
* @see fetch_user()
*/
public $user;
/**
* @var Product Populated by fetch_product()
* @var ?Product Populated by fetch_product()
* @see fetch_product()
*/
public $product;