Fix code comment

This commit is contained in:
Laurent Destailleur 2017-09-08 13:33:52 +02:00
parent 259cca0230
commit 59721bf8ed

View File

@ -383,8 +383,8 @@ class AccountancyCategory
/** /**
* Return list of personalized groups * Return list of personalized groups
* *
* @return int $categorytype -1=All, 0=Only non computed groups, 1=Only computed groups * @param int $categorytype -1=All, 0=Only non computed groups, 1=Only computed groups
* @return array|int Array of personalized groups or < 0 if KO * @return array Array of groups
*/ */
public function getCats($categorytype=-1) public function getCats($categorytype=-1)
{ {
@ -507,7 +507,7 @@ class AccountancyCategory
* You must choose between first parameter (personalized group) or the second (free criteria filter) * You must choose between first parameter (personalized group) or the second (free criteria filter)
* *
* @param int $cat_id Id if personalized accounting group/category * @param int $cat_id Id if personalized accounting group/category
* @param string $predefinedgroup Sql criteria filter to select accounting accounts * @param string $predefinedgroupwhere Sql criteria filter to select accounting accounts
* @return array Array of accounting accounts * @return array Array of accounting accounts
*/ */
public function getCptsCat($cat_id, $predefinedgroupwhere='') public function getCptsCat($cat_id, $predefinedgroupwhere='')