From 8413eda4665c65ee020138545d91540fc1f4e63b Mon Sep 17 00:00:00 2001 From: Christian Burgas Date: Tue, 16 Oct 2018 11:31:05 +0200 Subject: [PATCH] adds parameters to show notes --- lib/Gitlab/Api/MergeRequests.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); } /**