浏览代码

doc comment accountancycategory class

Frédéric FRANCE 6 年之前
父节点
当前提交
21b429836a
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      htdocs/accountancy/class/accountancycategory.class.php

+ 3 - 3
htdocs/accountancy/class/accountancycategory.class.php

@@ -78,7 +78,7 @@ class AccountancyCategory // extends CommonObject
 	public $range_account;
 
 	/**
-	 * @var mixed Sample property 1
+	 * @var int $sens Sens of the account:  0: credit - debit, 1: debit - credit
 	 */
 	public $sens;
 
@@ -722,8 +722,8 @@ class AccountancyCategory // extends CommonObject
 	 * @param string 	$date_end			Date end
 	 * @param int 		$sens 				Sens of the account:  0: credit - debit, 1: debit - credit
 	 * @param string	$thirdparty_code	Thirdparty code
-	 * @param string 	$month 				Specifig month - Can be empty
-	 * @param string 	$year 				Specifig year - Can be empty
+	 * @param int       $month 				Specifig month - Can be empty
+	 * @param int       $year 				Specifig year - Can be empty
 	 * @return integer 						<0 if KO, >= 0 if OK
 	 */
 	public function getSumDebitCredit($cpt, $date_start, $date_end, $sens, $thirdparty_code='nofilter', $month=0, $year=0)