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

View File

@ -110,11 +110,14 @@ function dolNumberToWord($numero, $langs, $numorcurrency='number')
} }
/** /**
* @param integer $hundreds * hundreds2text
* @param integer $tens *
* @param integer $units * @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){ if ($hundreds==1 && $tens==0 && $units==0){
return "CIEN"; return "CIEN";
} }