Skip to content

Commit c78fd81

Browse files
KeithYehm1guelpf
authored andcommitted
[FIXED] Use issue iid instead of id in Issue model
1 parent 92dd0f7 commit c78fd81

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/Gitlab/Model/Issue.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,7 @@ public function showComments()
162162
*/
163163
public function isClosed()
164164
{
165-
if ($this->state == 'closed') {
166-
return true;
167-
}
168-
169-
return false;
165+
return $this->state === 'closed';
170166
}
171167

172168
/**

0 commit comments

Comments
 (0)