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()
135135 */
136136 public function addComment ($ comment )
137137 {
138- $ data = $ this ->client ->issues ()->addComment ($ this ->project ->id , $ this ->id , array (
138+ $ data = $ this ->client ->issues ()->addComment ($ this ->project ->id , $ this ->iid , array (
139139 'body ' => $ comment
140140 ));
141141
@@ -148,7 +148,7 @@ public function addComment($comment)
148148 public function showComments ()
149149 {
150150 $ notes = array ();
151- $ data = $ this ->client ->issues ()->showComments ($ this ->project ->id , $ this ->id );
151+ $ data = $ this ->client ->issues ()->showComments ($ this ->project ->id , $ this ->iid );
152152
153153 foreach ($ data as $ note ) {
154154 $ notes [] = Note::fromArray ($ this ->getClient (), $ this , $ note );
You can’t perform that action at this time.
0 commit comments