Completed
Push — master ( 6554a3...90d2ed )
by Ricardo
06:26
created
src/Http/Api/IssueController.php 1 patch
Doc Comments   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -732,7 +732,7 @@  discard block
 block discarded – undo
732 732
      *
733 733
      * @param  string $project_key
734 734
      * @param  array  $labels
735
-     * @return void
735
+     * @return boolean
736 736
      */
737 737
     public function createLabels($project_key, $labels)
738 738
     {
@@ -803,7 +803,7 @@  discard block
 block discarded – undo
803 803
      * get valid keys by schema
804 804
      *
805 805
      * @param  array $schema
806
-     * @return array
806
+     * @return string[]
807 807
      */
808 808
     public function getValidKeysBySchema($schema=[])
809 809
     {
@@ -1305,7 +1305,6 @@  discard block
 block discarded – undo
1305 1305
      *
1306 1306
      * @param  string $project_key
1307 1307
      * @param  string $id
1308
-     * @param  string $action_id
1309 1308
      * @return \Illuminate\Http\Response
1310 1309
      */
1311 1310
     public function doAction(Request $request, $project_key, $id, $workflow_id)
@@ -1415,7 +1414,6 @@  discard block
 block discarded – undo
1415 1414
      * copy issue.
1416 1415
      *
1417 1416
      * @param  string $project_key
1418
-     * @param  string $id
1419 1417
      * @return \Illuminate\Http\Response
1420 1418
      */
1421 1419
     public function copy(Request $request, $project_key)
@@ -1740,7 +1738,7 @@  discard block
 block discarded – undo
1740 1738
     /**
1741 1739
      * flat issues from 2d to 1d.
1742 1740
      *
1743
-     * @param  array $classifiedissues
1741
+     * @param  array $classified_issues
1744 1742
      * @return array
1745 1743
      */
1746 1744
     public function flatIssues($classified_issues)
Please login to merge, or discard this patch.
src/Http/Api/LabelsController.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,6 @@
 block discarded – undo
166 166
     /**
167 167
      * update the issues label
168 168
      *
169
-     * @param  array  $issues
170 169
      * @param  string $source
171 170
      * @param  string $dest
172 171
      * @return \Illuminate\Http\Response
Please login to merge, or discard this patch.
src/Http/Api/ModuleController.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,6 @@
 block discarded – undo
201 201
     /**
202 202
      * update the issues module
203 203
      *
204
-     * @param  array  $issues
205 204
      * @param  string $source
206 205
      * @param  string $dest
207 206
      * @return \Illuminate\Http\Response
Please login to merge, or discard this patch.
src/Http/Api/ProjectController.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -469,7 +469,6 @@  discard block
 block discarded – undo
469 469
      * initialize project data.
470 470
      *
471 471
      * @param  string $key
472
-     * @param  int    $id
473 472
      * @return 
474 473
      */
475 474
     public function initialize($key)
@@ -484,7 +483,6 @@  discard block
 block discarded – undo
484 483
     /**
485 484
      * Display the specified resource.
486 485
      *
487
-     * @param  int $id
488 486
      * @return \Illuminate\Http\Response
489 487
      */
490 488
     public function show($key)
Please login to merge, or discard this patch.
src/Http/Api/ReportController.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,6 +90,7 @@  discard block
 block discarded – undo
90 90
      * convert the filters.
91 91
      *
92 92
      * @param  array $filters
93
+     * @param string $project_key
93 94
      * @return \Illuminate\Http\Response
94 95
      */
95 96
     public function convFilters($project_key, $filters)
@@ -590,8 +591,8 @@  discard block
 block discarded – undo
590 591
      * get initialized trend data.
591 592
      *
592 593
      * @param  string $interval
593
-     * @param  number $star_stat_time
594
-     * @param  number $end_stat_time 
594
+     * @param  integer $start_stat_time
595
+     * @param  integer $end_stat_time 
595 596
      * @return \Illuminate\Http\Response
596 597
      */
597 598
     public function getInitializedTrendData($interval, $start_stat_time, $end_stat_time)
@@ -817,6 +818,9 @@  discard block
 block discarded – undo
817 818
         }
818 819
     }
819 820
 
821
+    /**
822
+     * @param string $project_key
823
+     */
820 824
     public function arrangeRegressionData($data, $project_key, $dimension)
821 825
     {
822 826
         if (!$dimension) {
Please login to merge, or discard this patch.
src/Http/Api/RoleController.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -245,6 +245,7 @@  discard block
 block discarded – undo
245 245
      *
246 246
      * @param  string $project_key
247 247
      * @param  array  $uids
248
+     * @param integer $role_id
248 249
      * @return array
249 250
      */
250 251
     public function setUsers($project_key, $role_id, $uids)
@@ -260,6 +261,7 @@  discard block
 block discarded – undo
260 261
      *
261 262
      * @param  string $project_key
262 263
      * @param  array  $gids
264
+     * @param integer $role_id
263 265
      * @return array
264 266
      */
265 267
     public function setGroups($project_key, $role_id, $gids)
@@ -304,7 +306,6 @@  discard block
 block discarded – undo
304 306
      * set permissions 
305 307
      *
306 308
      * @param  string $project_key
307
-     * @param  string $role_id
308 309
      * @return array
309 310
      */
310 311
     public function setPermissions(Request $request, $project_key, $id)
Please login to merge, or discard this patch.
src/Http/Api/ScreenController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -195,8 +195,8 @@
 block discarded – undo
195 195
     /**
196 196
      * generate screen schema
197 197
      *
198
-     * @param  array $fields
199
-     * @param  array $required_fields
198
+     * @param  array $field_ids
199
+     * @param  array $required_field_ids
200 200
      * @return array
201 201
      */
202 202
     public function createSchema(array $field_ids, array $required_field_ids)
Please login to merge, or discard this patch.
src/Http/Api/SessionController.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -117,7 +117,6 @@  discard block
 block discarded – undo
117 117
     /**
118 118
      * Remove the specified resource from storage.
119 119
      *
120
-     * @param  int $id
121 120
      * @return \Illuminate\Http\Response
122 121
      */
123 122
     public function getSess(Request $request)
@@ -139,7 +138,6 @@  discard block
 block discarded – undo
139 138
     /**
140 139
      * Remove the specified resource from storage.
141 140
      *
142
-     * @param  int $id
143 141
      * @return \Illuminate\Http\Response
144 142
      */
145 143
     public function destroy(Request $request)
Please login to merge, or discard this patch.
src/Http/Api/SprintController.php 1 patch
Doc Comments   -6 removed lines patch added patch discarded remove patch
@@ -112,7 +112,6 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * Display the specified resource.
114 114
      *
115
-     * @param  int $id
116 115
      * @return \Illuminate\Http\Response
117 116
      */
118 117
     public function show($project_key, $no)
@@ -129,7 +128,6 @@  discard block
 block discarded – undo
129 128
      * publish the sprint.
130 129
      *
131 130
      * @param  \Illuminate\Http\Request $request
132
-     * @param  int                      $id
133 131
      * @return \Illuminate\Http\Response
134 132
      */
135 133
     public function publish(Request $request, $project_key, $no)
@@ -219,7 +217,6 @@  discard block
 block discarded – undo
219 217
      * edit the sprint.
220 218
      *
221 219
      * @param  \Illuminate\Http\Request $request
222
-     * @param  int                      $id
223 220
      * @return \Illuminate\Http\Response
224 221
      */
225 222
     public function update(Request $request, $project_key, $no)
@@ -255,7 +252,6 @@  discard block
 block discarded – undo
255 252
      * publish the sprint.
256 253
      *
257 254
      * @param  \Illuminate\Http\Request $request
258
-     * @param  int                      $id
259 255
      * @return \Illuminate\Http\Response
260 256
      */
261 257
     public function complete(Request $request, $project_key, $no)
@@ -315,7 +311,6 @@  discard block
 block discarded – undo
315 311
     /**
316 312
      * Remove the specified resource from storage.
317 313
      *
318
-     * @param  int $id
319 314
      * @return \Illuminate\Http\Response
320 315
      */
321 316
     public function destroy($project_key, $no)
@@ -592,7 +587,6 @@  discard block
 block discarded – undo
592 587
      * get working day flag.
593 588
      *
594 589
      * @param  int $start_time
595
-     * @param  int $complete_time
596 590
      * @return \Illuminate\Http\Response
597 591
      */
598 592
     public function getWorkingDay($start_time, $end_time)
Please login to merge, or discard this patch.