* Add param type and return value.

This commit is contained in:
caoyanyi
2023-05-31 13:20:33 +08:00
parent 0ba2047d0e
commit 9653ed3340
+4 -2
View File
@@ -1721,16 +1721,18 @@ class taskModel extends model
}
/**
* 更新串行任务工时日志的排序。
* Update estimate order for linear task team.
*
* @param int $effortID
* @param int $order
* @access public
* @return void
* @return bool
*/
public function updateEstimateOrder($effortID, $order)
public function updateEstimateOrder(int $effortID, int $order): bool
{
$this->dao->update(TABLE_EFFORT)->set('`order`')->eq((int)$order)->where('id')->eq($effortID)->exec();
return !dao::isError();
}
/**