File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ public function reopen()
135
135
*/
136
136
public function addComment ($ comment )
137
137
{
138
- $ data = $ this ->client ->issues ()->addComment ($ this ->project ->id , $ this ->id , array (
138
+ $ data = $ this ->client ->issues ()->addComment ($ this ->project ->id , $ this ->iid , array (
139
139
'body ' => $ comment
140
140
));
141
141
@@ -148,7 +148,7 @@ public function addComment($comment)
148
148
public function showComments ()
149
149
{
150
150
$ notes = array ();
151
- $ data = $ this ->client ->issues ()->showComments ($ this ->project ->id , $ this ->id );
151
+ $ data = $ this ->client ->issues ()->showComments ($ this ->project ->id , $ this ->iid );
152
152
153
153
foreach ($ data as $ note ) {
154
154
$ notes [] = Note::fromArray ($ this ->getClient (), $ this , $ note );
You can’t perform that action at this time.
0 commit comments