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:
Scrutinizer Auto-Fixer 2014-07-21 18:42:17 +02:00 committed by Scrutinizer
parent 70a83f5ef9
commit 42a4af3b6e
3 changed files with 7 additions and 1 deletions

View File

@ -104,6 +104,9 @@ function SendError($number, $text)
exit ;
}
/**
* @param integer $number
*/
function SendErrorNode($number, $text)
{
if ($text)

View File

@ -73,6 +73,9 @@ function GetResourceTypeDirectory($resourceType, $sCommand)
}
}
/**
* @param string $folderPath
*/
function GetUrlFromPath($resourceType, $folderPath, $sCommand)
{
return CombinePaths(GetResourceTypePath($resourceType, $sCommand), $folderPath);

View File

@ -112,7 +112,7 @@ class MailmanSpip
/**
* 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 $list Name of mailing-list
* @return mixed Boolean or string