clean code (#36317)

* clean code

* clean code

* clean doc

* clean doc

* clean doc

* clean doc

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
Frédéric FRANCE
2025-11-20 01:47:46 +01:00
committed by GitHub
parent 111dce3854
commit 46d6714fe0
74 changed files with 305 additions and 161 deletions

View File

@@ -836,9 +836,12 @@ class Setup extends DolibarrApi
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
/**
* Clean sensible object datas
* @phpstan-template T
*
* @param Object $object Object to clean
* @return Object Object with cleaned properties
* @phpstan-param T $object
* @phpstan-return T
*/
protected function _cleanObjectDatas($object)
{