Skip to content

Commit 2f6d802

Browse files
committed
Fix merge method : use static
1 parent e71eae0 commit 2f6d802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Gitlab/Model/MergeRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function merge($message = null)
8484
{
8585
$data = $this->api('mr')->merge($this->project->id, $this->id, array('merge_commit_message' => $message));
8686

87-
return MergeRequest::fromArray($this->getClient(), $this->project, $data);
87+
return static::fromArray($this->getClient(), $this->project, $data);
8888
}
8989

9090
public function merged()

0 commit comments

Comments
 (0)