diff --git a/lib/Gitlab/Api/MergeRequests.php b/lib/Gitlab/Api/MergeRequests.php index ac78b0c5b..afe45ded5 100644 --- a/lib/Gitlab/Api/MergeRequests.php +++ b/lib/Gitlab/Api/MergeRequests.php @@ -157,12 +157,13 @@ public function merge($project_id, $mr_id, $message = null) /** * @param int $project_id * @param int $mr_id + * @param array $parameters * * @return mixed */ - public function showNotes($project_id, $mr_id) + public function showNotes($project_id, $mr_id, $parameters = []) { - return $this->get($this->getProjectPath($project_id, 'merge_requests/'.$this->encodePath($mr_id).'/notes')); + return $this->get($this->getProjectPath($project_id, 'merge_requests/'.$this->encodePath($mr_id).'/notes'), $parameters); } /**