Passed
Push — master ( 74bac9...189348 )
by KwangSeob
01:58
created
src/Issue/IssueService.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -787,7 +787,7 @@  discard block
 block discarded – undo
787 787
         $metas = json_decode($ret, true);
788 788
 
789 789
         // extract only custom field(startWith customefield_XXXXX)
790
-        $cfs = array_filter($metas['fields'], function ($key) {
790
+        $cfs = array_filter($metas['fields'], function($key) {
791 791
             $pos = strpos($key, 'customfield');
792 792
 
793 793
             return $pos !== false;
@@ -944,11 +944,11 @@  discard block
 block discarded – undo
944 944
     public function updateLabels($issueIdOrKey, $addLablesParam, $removeLabelsParam, $notifyUsers = true)
945 945
     {
946 946
         $labels = [];
947
-        foreach($addLablesParam as $a) {
947
+        foreach ($addLablesParam as $a) {
948 948
             array_push($labels, ["add" => $a]);
949 949
         }
950 950
 
951
-        foreach($removeLabelsParam as $r) {
951
+        foreach ($removeLabelsParam as $r) {
952 952
             array_push($labels, ["remove" => $r]);
953 953
         }
954 954
 
@@ -956,7 +956,7 @@  discard block
 block discarded – undo
956 956
             "update" => [
957 957
                 "labels" => $labels
958 958
             ]
959
-        ], JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT );
959
+        ], JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
960 960
 
961 961
         $this->log->addInfo("Update labels=\n".$postData);
962 962
 
Please login to merge, or discard this patch.