Scrutinizer Auto-Fixes
This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/eldy/dolibarr/inspections/dce98b05-0037-4277-b1e9-7fd6405a6cd6 Enabled analysis tools: - PHP Analyzer
This commit is contained in:
parent
70a83f5ef9
commit
42a4af3b6e
@ -104,6 +104,9 @@ function SendError($number, $text)
|
|||||||
exit ;
|
exit ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param integer $number
|
||||||
|
*/
|
||||||
function SendErrorNode($number, $text)
|
function SendErrorNode($number, $text)
|
||||||
{
|
{
|
||||||
if ($text)
|
if ($text)
|
||||||
|
|||||||
@ -73,6 +73,9 @@ function GetResourceTypeDirectory($resourceType, $sCommand)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $folderPath
|
||||||
|
*/
|
||||||
function GetUrlFromPath($resourceType, $folderPath, $sCommand)
|
function GetUrlFromPath($resourceType, $folderPath, $sCommand)
|
||||||
{
|
{
|
||||||
return CombinePaths(GetResourceTypePath($resourceType, $sCommand), $folderPath);
|
return CombinePaths(GetResourceTypePath($resourceType, $sCommand), $folderPath);
|
||||||
|
|||||||
@ -112,7 +112,7 @@ class MailmanSpip
|
|||||||
/**
|
/**
|
||||||
* Function used to connect to Mailman
|
* Function used to connect to Mailman
|
||||||
*
|
*
|
||||||
* @param object $object Object with the data
|
* @param Adherent $object Object with the data
|
||||||
* @param string $url Mailman URL to be called with patterns
|
* @param string $url Mailman URL to be called with patterns
|
||||||
* @param string $list Name of mailing-list
|
* @param string $list Name of mailing-list
|
||||||
* @return mixed Boolean or string
|
* @return mixed Boolean or string
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user