Merge pull request #5441 from Dolibarr/scrutinizer-patch-5

Scrutinizer Auto-Fixes
This commit is contained in:
Laurent Destailleur 2016-07-02 20:27:50 +02:00 committed by GitHub
commit b654c7d6fe
2 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ class AccountancyCategory
* @param string $year Specific year
* @param int $sens Sens of the account 0: credit - debit 1: debit - credit
*
* @return array Result in table
* @return integer Result in table
*/
public function getResult($cpt, $month, $year, $sens) {
$sql = "SELECT SUM(t.debit) as debit, SUM(t.credit) as credit";

View File

@ -168,7 +168,7 @@ class box_actions extends ModeleBoxes
* @param array $head Array with properties of box title
* @param array $contents Array with properties of box lines
* @param int $nooutput No print, only return string
* @return void
* @return string
*/
function showBox($head = null, $contents = null, $nooutput=0)
{