diff --git a/module/branch/model.php b/module/branch/model.php index e3acf60e04..7b1a643bdd 100644 --- a/module/branch/model.php +++ b/module/branch/model.php @@ -659,7 +659,7 @@ class branchModel extends model * @access public * @return bool */ - public function showBranch($productID, $moduleID = 0, $executionID = 0) + public function showBranch(int $productID, int $moduleID = 0, int $executionID = 0): bool { $this->loadModel('product'); if(empty($productID) and empty($moduleID)) diff --git a/module/execution/control.php b/module/execution/control.php index e16562e42a..b97159e19f 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -967,7 +967,7 @@ class execution extends control * @access public * @return void */ - public function bug($executionID = 0, $productID = 0, $branch = 'all', $orderBy = 'status,id_desc', $build = 0, $type = 'all', $param = 0, $recTotal = 0, $recPerPage = 20, $pageID = 1) + public function bug(int $executionID = 0, int $productID = 0, string $branch = 'all', string $orderBy = 'status,id_desc', int $build = 0, string $type = 'all', int $param = 0, int $recTotal = 0, int $recPerPage = 20, int $pageID = 1) { /* Load these two models. */ $this->loadModel('bug');