Merge pull request #1762 from eldy/develop

A smaller PR from scrutinizer with good advices on doc
This commit is contained in:
Laurent Destailleur 2014-07-21 19:10:10 +02:00
commit 8613cdf24a
3 changed files with 7 additions and 1 deletions

View File

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

View File

@ -70,6 +70,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);

View File

@ -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