Fix PHPCS

This commit is contained in:
Laurent Destailleur 2016-04-09 19:50:13 +02:00
parent acf546d982
commit af4a975be2
2 changed files with 19 additions and 8 deletions

View File

@ -21,9 +21,13 @@
*
* This is the File Manager Connector for PHP.
*/
/**
* @param string $sBasePath
* @param string $sFolder
* CombinePaths
*
* @param string $sBasePath sBasePath
* @param string $sFolder sFolder
* @return string Combined path
*/
function CombinePaths( $sBasePath, $sFolder )
{
@ -385,8 +389,12 @@ EOF;
// This is the function that sends the results of the uploading process to CKE.
/**
* @param string $callback
* @param string $sFileUrl
* SendCKEditorResults
*
* @param string $callback callback
* @param string $sFileUrl sFileUrl
* @param string $customMsg customMsg
* @return void
*/
function SendCKEditorResults ($callback, $sFileUrl, $customMsg = '')
{

View File

@ -110,11 +110,14 @@ function dolNumberToWord($numero, $langs, $numorcurrency='number')
}
/**
* @param integer $hundreds
* @param integer $tens
* @param integer $units
* hundreds2text
*
* @param integer $hundreds Hundreds
* @param integer $tens Tens
* @param integer $units Units
*/
function hundreds2text ($hundreds, $tens, $units){
function hundreds2text($hundreds, $tens, $units)
{
if ($hundreds==1 && $tens==0 && $units==0){
return "CIEN";
}