Passed
Pull Request — master (#305)
by
unknown
01:47
created
src/Issue/IssueService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
     {
324 324
         $this->log->info("getComments=\n");
325 325
 
326
-        $ret = $this->exec($this->uri.'/'.$issueIdOrKey.'/comment' . $this->toHttpQueryParameter($paramArray), null);
326
+        $ret = $this->exec($this->uri.'/'.$issueIdOrKey.'/comment'.$this->toHttpQueryParameter($paramArray), null);
327 327
 
328 328
         $this->log->debug('get comments result='.var_export($ret, true));
329 329
         $comments = $this->json_mapper->map(
@@ -953,7 +953,7 @@  discard block
 block discarded – undo
953 953
         $metas = json_decode($ret, true);
954 954
 
955 955
         // extract only custom field(startWith customefield_XXXXX)
956
-        $cfs = array_filter($metas['fields'], function ($key) {
956
+        $cfs = array_filter($metas['fields'], function($key) {
957 957
             $pos = strpos($key, 'customfield');
958 958
 
959 959
             return $pos !== false;
Please login to merge, or discard this patch.