Skip to content
Snippets Groups Projects
Commit 42a4af3b authored by Scrutinizer Auto-Fixer's avatar Scrutinizer Auto-Fixer Committed by Scrutinizer
Browse files

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
parent 70a83f5e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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