@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | { |
226 | 226 | $this->log->info("addComment=\n"); |
227 | 227 | |
228 | - if (! ($comment instanceof Comment) || empty($comment->body)) { |
|
228 | + if (!($comment instanceof Comment) || empty($comment->body)) { |
|
229 | 229 | throw new JiraException("comment param must instance of Comment and have to body text.!"); |
230 | 230 | } |
231 | 231 | |
@@ -257,7 +257,7 @@ discard block |
||
257 | 257 | { |
258 | 258 | $this->log->info("updateComment=\n"); |
259 | 259 | |
260 | - if (! ($comment instanceof Comment) || empty($comment->body)) { |
|
260 | + if (!($comment instanceof Comment) || empty($comment->body)) { |
|
261 | 261 | throw new JiraException("comment param must instance of Comment and have to body text.!"); |
262 | 262 | } |
263 | 263 | |
@@ -880,7 +880,7 @@ discard block |
||
880 | 880 | $metas = json_decode($ret, true); |
881 | 881 | |
882 | 882 | // extract only custom field(startWith customefield_XXXXX) |
883 | - $cfs = array_filter($metas['fields'], function ($key) { |
|
883 | + $cfs = array_filter($metas['fields'], function($key) { |
|
884 | 884 | $pos = strpos($key, 'customfield'); |
885 | 885 | |
886 | 886 | return $pos !== false; |