Completed
Push — master ( 481006...8d2042 )
by KwangSeob
02:07
created
src/Issue/IssueService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.