Merge pull request #33267 from mdeweerd/fix/phan/dolibarrmodules
Qual: Fix DolibarrModules::_init phpdoc type
This commit is contained in:
commit
3badfffd9f
2 changed files with 5 additions and 24 deletions
|
|
@ -409,25 +409,6 @@ return [
|
|||
'htdocs/core/modules/import/import_xlsx.modules.php' => ['PhanTypeMismatchProperty'],
|
||||
'htdocs/core/modules/member/doc/pdf_standard_member.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/member/modules_cards.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modAdherent.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modCommande.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modContrat.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modDon.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modExpedition.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modExpenseReport.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modFacture.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modFicheinter.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modFournisseur.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modHRM.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modMrp.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modPrelevement.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modProjet.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modPropale.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modReceiptPrinter.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modReception.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modStock.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modSupplierProposal.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/modTicket.class.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/movement/doc/pdf_standard_movementstock.modules.php' => ['PhanTypeMismatchArgument'],
|
||||
'htdocs/core/modules/mrp/doc/pdf_vinci.modules.php' => ['PhanUndeclaredProperty'],
|
||||
'htdocs/core/modules/mrp/mod_mo_advanced.php' => ['PhanUndeclaredProperty'],
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
* Copyright (C) 2014 Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
|
||||
* Copyright (C) 2018 Josep Lluís Amador <joseplluis@lliuretic.cat>
|
||||
* Copyright (C) 2019-2024 Frédéric France <frederic.france@free.fr>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024-2025 MDW <mdeweerd@users.noreply.github.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -208,13 +208,13 @@ class DolibarrModules // Can not be abstract, because we need to instantiate it
|
|||
|
||||
/**
|
||||
* Module last version
|
||||
* @var string $lastVersion
|
||||
* @var string
|
||||
*/
|
||||
public $lastVersion = '';
|
||||
|
||||
/**
|
||||
* true indicate this module need update
|
||||
* @var bool $needUpdate
|
||||
* @var bool
|
||||
*/
|
||||
public $needUpdate = false;
|
||||
|
||||
|
|
@ -427,7 +427,7 @@ class DolibarrModules // Can not be abstract, because we need to instantiate it
|
|||
* Another example : array('always'=>array("modBanque", "modFacture", "modProduct", "modCategorie"), 'FR'=>array('modBlockedLog'));
|
||||
* Note: Example in modTakePos: array('always'=>array("modBanque", "modFacture", "modProduct", "modCategorie"), 'FR'=>array('modBlockedLog'));
|
||||
* Example in modAccounting: array("modFacture", "modBanque", "modTax");
|
||||
|
||||
*
|
||||
* @see $requiredby
|
||||
*/
|
||||
public $depends;
|
||||
|
|
@ -528,7 +528,7 @@ class DolibarrModules // Can not be abstract, because we need to instantiate it
|
|||
* Enables a module.
|
||||
* Inserts all information into database.
|
||||
*
|
||||
* @param array<array{sql:string,ignoreerror:int<0,1>}>|array<string,string> $array_sql SQL requests to be executed when enabling module
|
||||
* @param array<array{sql:string,ignoreerror:int<0,1>}>|string[] $array_sql SQL requests to be executed when enabling module
|
||||
* @param string $options String with options when disabling module:
|
||||
* - 'noboxes' = Do all actions but do not insert boxes
|
||||
* - 'newboxdefonly' = Do all actions but for boxes, insert def of boxes only and not boxes activation
|
||||
|
|
|
|||
Loading…
Reference in a new issue