@@ -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) |
@@ -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) |
@@ -141,7 +141,6 @@ |
||
| 141 | 141 | * set notifications |
| 142 | 142 | * |
| 143 | 143 | * @param string $project_key |
| 144 | - * @param string $event_id |
|
| 145 | 144 | * @return array |
| 146 | 145 | */ |
| 147 | 146 | public function setNotify(Request $request, $project_key, $id) |
@@ -17,6 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Create a new event instance. |
| 19 | 19 | * |
| 20 | + * @param string $project_key |
|
| 20 | 21 | * @return void |
| 21 | 22 | */ |
| 22 | 23 | public function __construct($project_key, $user, array $param=[]) |
@@ -103,7 +103,7 @@ |
||
| 103 | 103 | /** |
| 104 | 104 | * Defines the repository pool to use for the client. |
| 105 | 105 | * |
| 106 | - * @param Fabrica\Bundle\CoreBundle\Git\RepositoryPool $repositoryPool The |
|
| 106 | + * @param RepositoryPool $repositoryPool The |
|
| 107 | 107 | * repository pool to set |
| 108 | 108 | */ |
| 109 | 109 | public function setRepositoryPool(RepositoryPool $repositoryPool) |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | /** |
| 54 | 54 | * fetch the year dates . |
| 55 | 55 | * |
| 56 | - * @param number $year |
|
| 56 | + * @param integer $year |
|
| 57 | 57 | * @return array |
| 58 | 58 | */ |
| 59 | 59 | public function getYearDates($year) |
@@ -87,9 +87,9 @@ discard block |
||
| 87 | 87 | /** |
| 88 | 88 | * convert the solar to lunar. |
| 89 | 89 | * |
| 90 | - * @param number $year |
|
| 91 | - * @param number $month |
|
| 92 | - * @param number $day |
|
| 90 | + * @param string $year |
|
| 91 | + * @param integer $month |
|
| 92 | + * @param integer $day |
|
| 93 | 93 | * @return array |
| 94 | 94 | */ |
| 95 | 95 | private function convert2lunar($year, $month, $day) |
@@ -199,7 +199,6 @@ discard block |
||
| 199 | 199 | /** |
| 200 | 200 | * sync the year singular calendars. |
| 201 | 201 | * |
| 202 | - * @param string $year |
|
| 203 | 202 | * @@return array |
| 204 | 203 | */ |
| 205 | 204 | public function sync(Request $request) |
@@ -50,6 +50,7 @@ discard block |
||
| 50 | 50 | * string $project_key |
| 51 | 51 | * string $permission |
| 52 | 52 | * |
| 53 | + * @param string $permission |
|
| 53 | 54 | * @return bool |
| 54 | 55 | */ |
| 55 | 56 | public function isPermissionAllowed($project_key, $permission, $user_id='') |
@@ -73,6 +74,7 @@ discard block |
||
| 73 | 74 | /** |
| 74 | 75 | * check if the field is used by issue. |
| 75 | 76 | * |
| 77 | + * @param string $field_key |
|
| 76 | 78 | * @return true |
| 77 | 79 | */ |
| 78 | 80 | public function isFieldUsedByIssue($project_key, $field_key, $field, $ext_info='') |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | * @param array $dt |
| 145 | 145 | * @param string $parent_id |
| 146 | 146 | * @param array $sub_dirs |
| 147 | - * @return void |
|
| 147 | + * @return boolean |
|
| 148 | 148 | */ |
| 149 | 149 | public function addChildren2Tree(&$dt, $parent_id, $sub_dirs) |
| 150 | 150 | { |
@@ -356,7 +356,7 @@ discard block |
||
| 356 | 356 | * |
| 357 | 357 | * @param string $project_key |
| 358 | 358 | * @param string $directory |
| 359 | - * @return array |
|
| 359 | + * @return string[] |
|
| 360 | 360 | */ |
| 361 | 361 | public function getParentTree($project_key, $directory) |
| 362 | 362 | { |
@@ -742,6 +742,7 @@ discard block |
||
| 742 | 742 | * |
| 743 | 743 | * @param String $name |
| 744 | 744 | * @param String $directory |
| 745 | + * @param string $project_key |
|
| 745 | 746 | * @return \Illuminate\Http\Response |
| 746 | 747 | */ |
| 747 | 748 | public function downloadFolder($project_key, $name, $directory) |
@@ -236,7 +236,6 @@ |
||
| 236 | 236 | /** |
| 237 | 237 | * update the issues epic |
| 238 | 238 | * |
| 239 | - * @param array $issues |
|
| 240 | 239 | * @param string $source |
| 241 | 240 | * @param string $dest |
| 242 | 241 | * @return \Illuminate\Http\Response |