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)
{ {
@ -429,7 +429,7 @@ class AccountancyCategory
'position' => $obj->position, 'position' => $obj->position,
'category_type' => $obj->category_type 'category_type' => $obj->category_type
); );
$i ++; $i++;
} }
} }
return $data; return $data;
@ -506,9 +506,9 @@ class AccountancyCategory
* Get all accounting account of a group. * Get all accounting account of a group.
* 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='')
{ {