@@ -90,7 +90,7 @@ public function closed($project_id, $page = 1, $per_page = self::PER_PAGE, $orde
9090 */
9191 public function show ($ project_id , $ mr_id )
9292 {
93- return $ this ->get ($ this ->getProjectPath ($ project_id , 'merge_request / ' .$ this ->encodePath ($ mr_id )));
93+ return $ this ->get ($ this ->getProjectPath ($ project_id , 'merge_requests / ' .$ this ->encodePath ($ mr_id )));
9494 }
9595
9696 /**
@@ -123,7 +123,7 @@ public function create($project_id, $source, $target, $title, $assignee = null,
123123 */
124124 public function update ($ project_id , $ mr_id , array $ params )
125125 {
126- return $ this ->put ($ this ->getProjectPath ($ project_id , 'merge_request / ' .$ this ->encodePath ($ mr_id )), $ params );
126+ return $ this ->put ($ this ->getProjectPath ($ project_id , 'merge_requests / ' .$ this ->encodePath ($ mr_id )), $ params );
127127 }
128128
129129 /**
@@ -140,7 +140,7 @@ public function merge($project_id, $mr_id, $message = null)
140140 $ params = array ('merge_commit_message ' => $ message );
141141 }
142142
143- return $ this ->put ($ this ->getProjectPath ($ project_id , 'merge_request / ' .$ this ->encodePath ($ mr_id ).'/merge ' ), $ params );
143+ return $ this ->put ($ this ->getProjectPath ($ project_id , 'merge_requests / ' .$ this ->encodePath ($ mr_id ).'/merge ' ), $ params );
144144 }
145145
146146 /**
@@ -173,7 +173,7 @@ public function addNote($project_id, $mr_id, $note)
173173 */
174174 public function showComments ($ project_id , $ mr_id )
175175 {
176- return $ this ->get ($ this ->getProjectPath ($ project_id , 'merge_request / ' .$ this ->encodePath ($ mr_id ).'/comments ' ));
176+ return $ this ->get ($ this ->getProjectPath ($ project_id , 'merge_requests / ' .$ this ->encodePath ($ mr_id ).'/comments ' ));
177177 }
178178
179179 /**
@@ -184,7 +184,7 @@ public function showComments($project_id, $mr_id)
184184 */
185185 public function addComment ($ project_id , $ mr_id , $ note )
186186 {
187- return $ this ->post ($ this ->getProjectPath ($ project_id , 'merge_request / ' .$ this ->encodePath ($ mr_id ).'/comments ' ), array (
187+ return $ this ->post ($ this ->getProjectPath ($ project_id , 'merge_requests / ' .$ this ->encodePath ($ mr_id ).'/comments ' ), array (
188188 'note ' => $ note
189189 ));
190190 }
@@ -196,7 +196,7 @@ public function addComment($project_id, $mr_id, $note)
196196 */
197197 public function changes ($ project_id , $ mr_id )
198198 {
199- return $ this ->get ($ this ->getProjectPath ($ project_id , 'merge_request / ' .$ this ->encodePath ($ mr_id ).'/changes ' ));
199+ return $ this ->get ($ this ->getProjectPath ($ project_id , 'merge_requests / ' .$ this ->encodePath ($ mr_id ).'/changes ' ));
200200 }
201201
202202 /**
@@ -216,7 +216,7 @@ public function getByIid($project_id, $mr_iid)
216216 */
217217 public function commits ($ project_id , $ mr_id )
218218 {
219- return $ this ->get ($ this ->getProjectPath ($ project_id , 'merge_request / ' .$ this ->encodePath ($ mr_id ).'/commits ' ));
219+ return $ this ->get ($ this ->getProjectPath ($ project_id , 'merge_requests / ' .$ this ->encodePath ($ mr_id ).'/commits ' ));
220220 }
221221
222222 /**
@@ -226,7 +226,7 @@ public function commits($project_id, $mr_id)
226226 */
227227 public function closesIssues ($ project_id , $ mr_id )
228228 {
229- return $ this ->get ($ this ->getProjectPath ($ project_id , 'merge_request / ' .$ this ->encodePath ($ mr_id ).'/closes_issues ' ));
229+ return $ this ->get ($ this ->getProjectPath ($ project_id , 'merge_requests / ' .$ this ->encodePath ($ mr_id ).'/closes_issues ' ));
230230 }
231231
232232 /**
0 commit comments