@@ -214,7 +214,7 @@ public function update($issueIdOrKey, $issueField, $paramArray = [])
214214 * Adds a new comment to an issue.
215215 *
216216 * @param string|int $issueIdOrKey Issue id or key
217- * @param Comment $comment
217+ * @param Comment $comment
218218 *
219219 * @throws JiraException
220220 * @throws \JsonMapper_Exception
@@ -225,8 +225,8 @@ public function addComment($issueIdOrKey, $comment)
225225 {
226226 $ this ->log ->info ("addComment= \n" );
227227
228- if (! ($ comment instanceof Comment) || empty ($ comment ->body )) {
229- throw new JiraException (" comment param must instance of Comment and have to body text.! " );
228+ if (!($ comment instanceof Comment) || empty ($ comment ->body )) {
229+ throw new JiraException (' comment param must instance of Comment and have to body text.! ' );
230230 }
231231
232232 $ data = json_encode ($ comment );
@@ -246,7 +246,7 @@ public function addComment($issueIdOrKey, $comment)
246246 *
247247 * @param string|int $issueIdOrKey Issue id or key
248248 * @param string|int $id Comment id
249- * @param Comment $comment
249+ * @param Comment $comment
250250 *
251251 * @throws JiraException
252252 * @throws \JsonMapper_Exception
@@ -257,8 +257,8 @@ public function updateComment($issueIdOrKey, $id, $comment)
257257 {
258258 $ this ->log ->info ("updateComment= \n" );
259259
260- if (! ($ comment instanceof Comment) || empty ($ comment ->body )) {
261- throw new JiraException (" comment param must instance of Comment and have to body text.! " );
260+ if (!($ comment instanceof Comment) || empty ($ comment ->body )) {
261+ throw new JiraException (' comment param must instance of Comment and have to body text.! ' );
262262 }
263263
264264 $ data = json_encode ($ comment );
0 commit comments