@@ -42,7 +42,6 @@ |
||
42 | 42 | /** |
43 | 43 | * Get list of compatible events for a given action. |
44 | 44 | * |
45 | - * @param string $name |
|
46 | 45 | * |
47 | 46 | * @return array |
48 | 47 | */ |
@@ -54,7 +54,7 @@ |
||
54 | 54 | * @param int $project_id |
55 | 55 | * @param int $file_id |
56 | 56 | * |
57 | - * @return array |
|
57 | + * @return string |
|
58 | 58 | */ |
59 | 59 | public function downloadProjectFile($project_id, $file_id) |
60 | 60 | { |
@@ -37,7 +37,7 @@ |
||
37 | 37 | * Get list of users that can be assigned to a task (only Manager and Member). |
38 | 38 | * |
39 | 39 | * @param int $project_id Project id |
40 | - * @param bool $unassigned Prepend the 'Unassigned' value |
|
40 | + * @param bool $prepend_unassigned Prepend the 'Unassigned' value |
|
41 | 41 | * |
42 | 42 | * @return array |
43 | 43 | */ |
@@ -154,8 +154,6 @@ discard block |
||
154 | 154 | * @param int $column_id Column id |
155 | 155 | * @param int $position Position (must be >= 1) |
156 | 156 | * @param int $swimlane_id Swimlane id |
157 | - * @param bool $fire_events Fire events |
|
158 | - * @param bool $onlyOpen Do not move closed tasks |
|
159 | 157 | * |
160 | 158 | * @return bool |
161 | 159 | */ |
@@ -274,16 +272,12 @@ discard block |
||
274 | 272 | * |
275 | 273 | * @param int $id |
276 | 274 | * @param string $title |
277 | - * @param int $project_id |
|
278 | 275 | * @param string $color_id |
279 | - * @param int $column_id |
|
280 | 276 | * @param int $owner_id |
281 | - * @param int $creator_id |
|
282 | 277 | * @param string $date_due |
283 | 278 | * @param string $description |
284 | 279 | * @param int $category_id |
285 | 280 | * @param int $score |
286 | - * @param int $swimlane_id |
|
287 | 281 | * @param int $priority |
288 | 282 | * @param int $recurrence_status |
289 | 283 | * @param int $recurrence_trigger |
@@ -292,7 +286,7 @@ discard block |
||
292 | 286 | * @param int $recurrence_basedate |
293 | 287 | * @param string $reference |
294 | 288 | * |
295 | - * @return int |
|
289 | + * @return boolean |
|
296 | 290 | */ |
297 | 291 | public function updateTask($id, $title = null, $color_id = null, $owner_id = null, |
298 | 292 | $date_due = null, $description = null, $category_id = null, $score = null, $priority = null, |
@@ -129,7 +129,6 @@ |
||
129 | 129 | * @param int $link_id |
130 | 130 | * @param string $url |
131 | 131 | * @param string $dependency |
132 | - * @param string $type |
|
133 | 132 | * @param strint $title |
134 | 133 | * |
135 | 134 | * @return bool |
@@ -186,7 +186,6 @@ |
||
186 | 186 | * |
187 | 187 | * @param int $id |
188 | 188 | * @param string $username |
189 | - * @param string $password |
|
190 | 189 | * @param string $name |
191 | 190 | * @param string $email |
192 | 191 | * @param string $role |
@@ -103,6 +103,7 @@ |
||
103 | 103 | * |
104 | 104 | * @parma int $minutes |
105 | 105 | * |
106 | + * @param integer $minutes |
|
106 | 107 | * @return int |
107 | 108 | */ |
108 | 109 | protected function toTimestamp($minutes) |
@@ -214,7 +214,7 @@ |
||
214 | 214 | * |
215 | 215 | * @param array $row |
216 | 216 | * |
217 | - * @return array |
|
217 | + * @return callable |
|
218 | 218 | */ |
219 | 219 | private function filterRow(array $row) |
220 | 220 | { |
@@ -179,7 +179,7 @@ |
||
179 | 179 | /** |
180 | 180 | * Return HTTP method. |
181 | 181 | * |
182 | - * @return bool |
|
182 | + * @return string |
|
183 | 183 | */ |
184 | 184 | public function getMethod() |
185 | 185 | { |