Merge pull request #2 from eldy/scrutinizer-patch-2

Scrutinizer Auto-Fixes
This commit is contained in:
Laurent Destailleur 2014-07-21 19:04:56 +02:00
commit d5ab896782
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