Skip to content

Commit 3647ee5

Browse files
committed
Added isClosed() method.. properly ;)
1 parent 34f18c4 commit 3647ee5

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
@@ -91,7 +91,7 @@ public function addComment($note)
9191

9292
public function isClosed()
9393
{
94-
if (in_array($this->state, 'closed', 'merged')) {
94+
if (in_array($this->state, array('closed', 'merged'))) {
9595
return true;
9696
}
9797

0 commit comments

Comments
 (0)