mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-31 14:12:29 +01:00
fix: phpstan
htdocs/core/lib/pdf.lib.php 440 Function pdf_build_address() should return string but returns int. htdocs/core/lib/pdf.lib.php 443 Function pdf_build_address() should return string but returns int.
This commit is contained in:
@@ -430,7 +430,7 @@ function pdfBuildThirdpartyName($thirdparty, Translate $outputlangs, $includeali
|
||||
* @param int $usecontact Use contact instead of company
|
||||
* @param string $mode Address type ('source', 'target', 'targetwithdetails', 'targetwithdetails_xxx': target but include also phone/fax/email/url)
|
||||
* @param Object $object Object we want to build document for
|
||||
* @return string String with full address
|
||||
* @return string|int String with full address or -1 if KO
|
||||
*/
|
||||
function pdf_build_address($outputlangs, $sourcecompany, $targetcompany = '', $targetcontact = '', $usecontact = 0, $mode = 'source', $object = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user