diff --git a/module/bug/control.php b/module/bug/control.php index 22c19d29f5..6ad950ed04 100755 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -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); diff --git a/module/bug/zen.php b/module/bug/zen.php index 653f4651ce..bd5ca425ad 100644 --- a/module/bug/zen.php +++ b/module/bug/zen.php @@ -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 {