* Modify return type.
This commit is contained in:
@@ -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
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user