* Modify the return type of a function.

This commit is contained in:
tianshujie
2023-05-29 14:14:37 +08:00
parent 05c5f02bad
commit bed196bb2f
+2 -2
View File
@@ -1555,9 +1555,9 @@ class taskModel extends model
*
* @param int $executionID
* @access public
* @return object
* @return int
*/
public function getProjectID(int $executionID = 0)
public function getProjectID(int $executionID = 0): int
{
return $this->dao->select('project')->from(TABLE_EXECUTION)->where('id')->eq($executionID)->fetch('project');
}