Passed
Push — master ( 855f4c...e5357b )
by KwangSeob
02:12
created
src/Project/ProjectService.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     {
73 73
         $ret = $this->exec("/user/assignable/search?project=$projectIdOrKey", null);
74 74
         $json = json_decode($ret);
75
-        $results = array_map(function ($elem) {
75
+        $results = array_map(function($elem) {
76 76
             return $this->json_mapper->map($elem, new Reporter());
77 77
         }, $json);
78 78
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     {
91 91
         $ret = $this->exec($this->uri."/$projectIdOrKey/statuses", null);
92 92
         $json = json_decode($ret);
93
-        $results = array_map(function ($elem) {
93
+        $results = array_map(function($elem) {
94 94
             return $this->json_mapper->map($elem, new IssueType());
95 95
         }, $json);
96 96
 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     {
109 109
         $ret = $this->exec($this->uri."/$projectIdOrKey/statuses", null);
110 110
         $json = json_decode($ret);
111
-        $results = array_map(function ($elem) {
111
+        $results = array_map(function($elem) {
112 112
             return $this->json_mapper->map($elem, new IssueType());
113 113
         }, $json);
114 114
 
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
         foreach ($results as $issueType) {
117 117
             foreach ($issueType->statuses as $status) {
118 118
 
119
-                if (! in_array($status->id, array_column($transitions, 'id'))) {
119
+                if (!in_array($status->id, array_column($transitions, 'id'))) {
120 120
                     $transitions[] = [
121 121
                         'id' => $status->id,
122 122
                         'name' => $status->name,
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
         $this->log->info('Result='.$ret);
142 142
 
143 143
         $json = json_decode($ret);
144
-        $results = array_map(function ($elem) {
144
+        $results = array_map(function($elem) {
145 145
             return $this->json_mapper->map($elem, new ProjectType());
146 146
         }, $json);
147 147
 
Please login to merge, or discard this patch.