@@ -13,6 +13,7 @@ |
||
| 13 | 13 | /** |
| 14 | 14 | * Create a new event instance. |
| 15 | 15 | * |
| 16 | + * @param integer $field_id |
|
| 16 | 17 | * @return void |
| 17 | 18 | */ |
| 18 | 19 | public function __construct($project_key, $field_id, $field_key, $field_type) |
@@ -10,6 +10,8 @@ |
||
| 10 | 10 | /** |
| 11 | 11 | * Create a new event instance. |
| 12 | 12 | * |
| 13 | + * @param string $project_key |
|
| 14 | + * @param string $file_id |
|
| 13 | 15 | * @return void |
| 14 | 16 | */ |
| 15 | 17 | public function __construct($project_key, $issue_id, $field_key, $file_id, $user) |
@@ -10,6 +10,7 @@ |
||
| 10 | 10 | /** |
| 11 | 11 | * Create a new event instance. |
| 12 | 12 | * |
| 13 | + * @param string $project_key |
|
| 13 | 14 | * @return void |
| 14 | 15 | */ |
| 15 | 16 | public function __construct($project_key, $issue_id, $field_key, $file_id, $user) |
@@ -11,6 +11,7 @@ |
||
| 11 | 11 | /** |
| 12 | 12 | * Create a new event instance. |
| 13 | 13 | * |
| 14 | + * @param string $project_key |
|
| 14 | 15 | * @return void |
| 15 | 16 | */ |
| 16 | 17 | public function __construct($project_key, $user, $param=[]) |
@@ -114,7 +114,6 @@ |
||
| 114 | 114 | /** |
| 115 | 115 | * export xls for access logs |
| 116 | 116 | * |
| 117 | - * @param array $issues |
|
| 118 | 117 | * @return void |
| 119 | 118 | */ |
| 120 | 119 | public function export($logs) |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | /** |
| 56 | 56 | * fetch the year dates . |
| 57 | 57 | * |
| 58 | - * @param number $year |
|
| 58 | + * @param integer $year |
|
| 59 | 59 | * @return array |
| 60 | 60 | */ |
| 61 | 61 | public function getYearDates($year) |
@@ -92,9 +92,9 @@ discard block |
||
| 92 | 92 | /** |
| 93 | 93 | * convert the solar to lunar. |
| 94 | 94 | * |
| 95 | - * @param number $year |
|
| 96 | - * @param number $month |
|
| 97 | - * @param number $day |
|
| 95 | + * @param string $year |
|
| 96 | + * @param integer $month |
|
| 97 | + * @param integer $day |
|
| 98 | 98 | * @return array |
| 99 | 99 | */ |
| 100 | 100 | private function convert2lunar($year, $month, $day) |
@@ -210,7 +210,6 @@ discard block |
||
| 210 | 210 | /** |
| 211 | 211 | * sync the year singular calendars. |
| 212 | 212 | * |
| 213 | - * @param string $year |
|
| 214 | 213 | * @@return array |
| 215 | 214 | */ |
| 216 | 215 | public function sync(Request $request) |
@@ -51,6 +51,7 @@ discard block |
||
| 51 | 51 | * |
| 52 | 52 | * string $project_key |
| 53 | 53 | * string $permission |
| 54 | + * @param string $permission |
|
| 54 | 55 | * @return bool |
| 55 | 56 | */ |
| 56 | 57 | public function isPermissionAllowed($project_key, $permission, $user_id='') |
@@ -77,6 +78,7 @@ discard block |
||
| 77 | 78 | /** |
| 78 | 79 | * check if the field is used by issue. |
| 79 | 80 | * |
| 81 | + * @param string $field_key |
|
| 80 | 82 | * @return true |
| 81 | 83 | */ |
| 82 | 84 | public function isFieldUsedByIssue($project_key, $field_key, $field, $ext_info='') |
@@ -148,7 +148,7 @@ discard block |
||
| 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 | { |
@@ -377,7 +377,7 @@ discard block |
||
| 377 | 377 | * get parent treee. |
| 378 | 378 | * @param string $project_key |
| 379 | 379 | * @param string $directory |
| 380 | - * @return array |
|
| 380 | + * @return string[] |
|
| 381 | 381 | */ |
| 382 | 382 | public function getParentTree($project_key, $directory) |
| 383 | 383 | { |
@@ -804,6 +804,7 @@ discard block |
||
| 804 | 804 | * |
| 805 | 805 | * @param String $name |
| 806 | 806 | * @param String $directory |
| 807 | + * @param string $project_key |
|
| 807 | 808 | * @return \Illuminate\Http\Response |
| 808 | 809 | */ |
| 809 | 810 | public function downloadFolder($project_key, $name, $directory) |
@@ -256,7 +256,6 @@ |
||
| 256 | 256 | /** |
| 257 | 257 | * update the issues epic |
| 258 | 258 | * |
| 259 | - * @param array $issues |
|
| 260 | 259 | * @param string $source |
| 261 | 260 | * @param string $dest |
| 262 | 261 | * @return \Illuminate\Http\Response |