clean code and phpdoc #1702
Annotations
2 errors and 10 warnings
Run phan
Process completed with exit code 1.
|
Run phan
Process completed with exit code 1.
|
Run phan:
htdocs/core/modules/asset/mod_asset_standard.php#L84
mod_asset_standard.php: PhanParamSignatureMismatch: Declaration of function canBeActivated(\Asset $object) : bool should be compatible with function canBeActivated(\CommonObject $object) : bool defined in htdocs/core/class/commonnumrefgenerator.class.php:138 (Expected \Asset $object to have the same type as \CommonObject $object or a supertype)
|
Run phan:
htdocs/core/modules/barcode/mod_barcode_product_standard.php#L164
mod_barcode_product_standard.php: PhanParamSignatureMismatch: Declaration of function getNextValue(\Product $objproduct, string $type = '') : string should be compatible with function getNextValue(\CommonObject $objcommon, string $type = '') : string defined in htdocs/core/modules/barcode/modules_barcode.class.php:69 (Expected \Product $objproduct to have the same type as \CommonObject $objcommon or a supertype)
|
Run phan:
htdocs/core/modules/bom/mod_bom_standard.php#L83
mod_bom_standard.php: PhanParamSignatureMismatch: Declaration of function canBeActivated(\BOM $object) : bool should be compatible with function canBeActivated(\CommonObject $object) : bool defined in htdocs/core/class/commonnumrefgenerator.class.php:138 (Expected \BOM $object to have the same type as \CommonObject $object or a supertype)
|
Run phan:
htdocs/core/modules/cheque/mod_chequereceipt_mint.php#L80
mod_chequereceipt_mint.php: PhanParamSignatureMismatch: Declaration of function canBeActivated(\RemiseCheque $object) : bool should be compatible with function canBeActivated(\CommonObject $object) : bool defined in htdocs/core/class/commonnumrefgenerator.class.php:138 (Expected \RemiseCheque $object to have the same type as \CommonObject $object or a supertype)
|
Run phan:
htdocs/core/modules/commande/mod_commande_marbre.php#L95
mod_commande_marbre.php: PhanParamSignatureMismatch: Declaration of function canBeActivated(\Commande $object) : bool should be compatible with function canBeActivated(\CommonObject $object) : bool defined in htdocs/core/class/commonnumrefgenerator.class.php:138 (Expected \Commande $object to have the same type as \CommonObject $object or a supertype)
|
Run phan:
htdocs/core/modules/contract/mod_contract_serpis.php#L82
mod_contract_serpis.php: PhanParamSignatureMismatch: Declaration of function canBeActivated(\Contrat $object) : bool should be compatible with function canBeActivated(\CommonObject $object) : bool defined in htdocs/core/class/commonnumrefgenerator.class.php:138 (Expected \Contrat $object to have the same type as \CommonObject $object or a supertype)
|
Run phan:
htdocs/core/modules/delivery/mod_delivery_jade.php#L93
mod_delivery_jade.php: PhanParamSignatureMismatch: Declaration of function canBeActivated(\Delivery $object) : bool should be compatible with function canBeActivated(\CommonObject $object) : bool defined in htdocs/core/class/commonnumrefgenerator.class.php:138 (Expected \Delivery $object to have the same type as \CommonObject $object or a supertype)
|
Run phan:
htdocs/core/modules/expedition/mod_expedition_safor.php#L88
mod_expedition_safor.php: PhanParamSignatureMismatch: Declaration of function canBeActivated(\Expedition $object) : bool should be compatible with function canBeActivated(\CommonObject $object) : bool defined in htdocs/core/class/commonnumrefgenerator.class.php:138 (Expected \Expedition $object to have the same type as \CommonObject $object or a supertype)
|
Run phan:
htdocs/core/modules/expensereport/mod_expensereport_jade.php#L89
mod_expensereport_jade.php: PhanParamSignatureMismatch: Declaration of function canBeActivated(\ExpenseReport $object) : bool should be compatible with function canBeActivated(\CommonObject $object) : bool defined in htdocs/core/class/commonnumrefgenerator.class.php:138 (Expected \ExpenseReport $object to have the same type as \CommonObject $object or a supertype)
|
Run phan:
htdocs/core/modules/facture/mod_facture_mars.php#L103
mod_facture_mars.php: PhanParamSignatureMismatch: Declaration of function canBeActivated(\Facture $object) : bool should be compatible with function canBeActivated(\CommonObject $object) : bool defined in htdocs/core/class/commonnumrefgenerator.class.php:138 (Expected \Facture $object to have the same type as \CommonObject $object or a supertype)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
phan-srcrt
Expired
|
1.27 KB |
|