* Adjust mr create method unit test case.

This commit is contained in:
caoyanyi
2023-12-15 13:59:37 +08:00
parent 9e8856dbf4
commit e010ce212c
2 changed files with 44 additions and 31 deletions
+2 -2
View File
@@ -535,9 +535,9 @@ class mrModel extends model
* @param string $projectID
* @param object $MR
* @access public
* @return object
* @return object|null
*/
public function apiCreateMR(int $hostID, string $projectID, object $MR): object
public function apiCreateMR(int $hostID, string $projectID, object $MR): object|null
{
$host = $this->loadModel('pipeline')->getByID($hostID);