Skip to content
Snippets Groups Projects
Commit 8613cdf2 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #1762 from eldy/develop

A smaller PR from scrutinizer with good advices on doc
parents c024037c 94e1f418
No related branches found
No related tags found
No related merge requests found
...@@ -101,6 +101,9 @@ function SendError($number, $text) ...@@ -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)
......
...@@ -70,6 +70,9 @@ function GetResourceTypeDirectory($resourceType, $sCommand) ...@@ -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);
......
...@@ -112,7 +112,7 @@ class MailmanSpip ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment