Completed
Push — master ( 24a4dc...fe3ba7 )
by Ricardo
04:03
created
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.
src/Http/Api/SyssettingController.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * Display the specified resource.
28 28
      *
29
-     * @param  int $id
30 29
      * @return \Illuminate\Http\Response
31 30
      */
32 31
     public function show()
@@ -101,9 +100,9 @@  discard block
 block discarded – undo
101 100
     /**
102 101
      * reset the smtp auth pwd.
103 102
      *
104
-     * @param  string $type
105 103
      * @param  array  $added_user_ids
106 104
      * @param  array  $deleted_user_ids
105
+     * @param string $permission
107 106
      * @return void 
108 107
      */
109 108
     public function handleUserPermission($permission, $added_user_ids, $deleted_user_ids)
Please login to merge, or discard this patch.
src/Http/Api/WikiController.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
      * @param  array  $dt
149 149
      * @param  string $parent_id
150 150
      * @param  array  $sub_dirs
151
-     * @return void
151
+     * @return boolean
152 152
      */
153 153
     public function addChildren2Tree(&$dt, $parent_id, $sub_dirs)
154 154
     {
@@ -432,7 +432,7 @@  discard block
 block discarded – undo
432 432
      *
433 433
      * @param  string $project_key
434 434
      * @param  string $id
435
-     * @return array
435
+     * @return \Illuminate\Http\Response
436 436
      */
437 437
     public function checkin(Request $request, $project_key, $id)
438 438
     {
@@ -462,7 +462,7 @@  discard block
 block discarded – undo
462 462
      *
463 463
      * @param  string $project_key
464 464
      * @param  string $id
465
-     * @return array
465
+     * @return \Illuminate\Http\Response
466 466
      */
467 467
     public function checkout(Request $request, $project_key, $id)
468 468
     {
@@ -519,7 +519,7 @@  discard block
 block discarded – undo
519 519
      *
520 520
      * @param  string $project_key
521 521
      * @param  string $directory
522
-     * @return array
522
+     * @return string[]
523 523
      */
524 524
     public function getPathTree($project_key, $directory)
525 525
     {
@@ -693,6 +693,7 @@  discard block
 block discarded – undo
693 693
      * record the last version.
694 694
      *
695 695
      * @param  array $document
696
+     * @param string $project_key
696 697
      * @return \Illuminate\Http\Response
697 698
      */
698 699
     public function recordVersion($project_key, $document)
@@ -907,7 +908,6 @@  discard block
 block discarded – undo
907 908
      * @param  \Illuminate\Http\Request $request
908 909
      * @param  String                   $project_key
909 910
      * @param  String                   $wid
910
-     * @param  String                   $fid
911 911
      * @return \Illuminate\Http\Response
912 912
      */
913 913
     public function upload(Request $request, $project_key, $wid)
Please login to merge, or discard this patch.
src/Listeners/ActivityAddListener.php 1 patch
Doc Comments   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * Handle the event.
35 35
      *
36
-     * @param  FileChangeEvent $event
36
+     * @param  Event $event
37 37
      * @return void
38 38
      */
39 39
     public function handle(Event $event)
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      * @param  array  $user
66 66
      * @param  string $file_id
67 67
      * @param  string $event_key
68
-     * @return void
68
+     * @return string
69 69
      */
70 70
     public function addFileActivity(string $project_key, string $issue_id, $user, $file_id, $event_key)
71 71
     {
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      * @param  string $project_key
86 86
      * @param  object $user
87 87
      * @param  array  $param
88
-     * @return void
88
+     * @return string
89 89
      */
90 90
     public function addProjectActivity($project_key, $user, array $param)
91 91
     {
@@ -98,10 +98,9 @@  discard block
 block discarded – undo
98 98
      *
99 99
      * @param  string $project_key
100 100
      * @param  string $issue_id
101
-     * @param  string $event_key
102 101
      * @param  object $user
103 102
      * @param  array  $param
104
-     * @return void
103
+     * @return string
105 104
      */
106 105
     public function addIssueActivity(string $project_key, string $issue_id, $user, array $param)
107 106
     {
Please login to merge, or discard this patch.