* Modify return type.

This commit is contained in:
liumengyi
2023-08-16 08:49:18 +08:00
parent 05839d265b
commit 0ba9bbcfe2
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1361,9 +1361,9 @@ class bug extends control
* @param int $productID
* @param int $bugID
* @access public
* @return array
* @return int
*/
public function ajaxGetProductBugs($productID, $bugID): array
public function ajaxGetProductBugs($productID, $bugID): int
{
$product = $this->loadModel('product')->getById($productID);
$bug = $this->bug->getById($bugID);
+1 -1
View File
@@ -1989,7 +1989,7 @@ class bugZen extends bug
* @param int $regionID
* @param string $message
* @access protected
* @return bool
* @return bool|int
*/
protected function responseAfterOperate(int $bugID, array $changes = array(), string $kanbanGroup = '', int $regionID = 0, string $message = ''): bool|int
{