Merge pull request #2 from eldy/scrutinizer-patch-2
Scrutinizer Auto-Fixes
This commit is contained in:
commit
d5ab896782
@ -104,6 +104,9 @@ function SendError($number, $text)
|
||||
exit ;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param integer $number
|
||||
*/
|
||||
function SendErrorNode($number, $text)
|
||||
{
|
||||
if ($text)
|
||||
|
||||
@ -73,6 +73,9 @@ function GetResourceTypeDirectory($resourceType, $sCommand)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $folderPath
|
||||
*/
|
||||
function GetUrlFromPath($resourceType, $folderPath, $sCommand)
|
||||
{
|
||||
return CombinePaths(GetResourceTypePath($resourceType, $sCommand), $folderPath);
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user