@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Jitamin\Controller\Project; |
13 | 13 | |
14 | 14 | use Jitamin\Controller\BaseController; |
15 | -use Jitamin\Model\ProjectModel; |
|
16 | 15 | |
17 | 16 | /** |
18 | 17 | * Class ProjectController. |
@@ -87,8 +87,7 @@ |
||
87 | 87 | */ |
88 | 88 | protected function getPageFilename($page) |
89 | 89 | { |
90 | - return $this->getFileLocation($page.'.md') ?: |
|
91 | - implode(DIRECTORY_SEPARATOR, [JITAMIN_DIR, 'doc', 'index.md']); |
|
90 | + return $this->getFileLocation($page.'.md') ?: implode(DIRECTORY_SEPARATOR, [JITAMIN_DIR, 'doc', 'index.md']); |
|
92 | 91 | } |
93 | 92 | |
94 | 93 | /** |
@@ -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 | */ |
@@ -24,7 +24,6 @@ |
||
24 | 24 | /** |
25 | 25 | * Before method of procedure. |
26 | 26 | * |
27 | - * @param string $role |
|
28 | 27 | * |
29 | 28 | * @return void |
30 | 29 | */ |
@@ -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 |