Skip to content

Commit 25c2991

Browse files
brammelemanradutopala
authored andcommitted
added remove method for Issues (#149)
1 parent d57d5ad commit 25c2991

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/Gitlab/Api/Issues.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@ public function update($project_id, $issue_id, array $params)
5353
return $this->put($this->getProjectPath($project_id, 'issues/'.$this->encodePath($issue_id)), $params);
5454
}
5555

56+
/**
57+
* @param int $project_id
58+
* @param int $issue_id
59+
* @return mixed
60+
*/
61+
public function remove($project_id, $issue_id)
62+
{
63+
return $this->delete($this->getProjectPath($project_id, 'issues/'.$this->encodePath($issue_id)), $params);
64+
}
65+
5666
/**
5767
* @param int $project_id
5868
* @param int $issue_id

0 commit comments

Comments
 (0)