@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | |
44 | 44 | /** |
45 | 45 | * Install the plugin |
46 | - * @return void |
|
46 | + * @return boolean |
|
47 | 47 | */ |
48 | 48 | public function install() |
49 | 49 | { |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | |
53 | 53 | /** |
54 | 54 | * Uninstall the plugin |
55 | - * @return void |
|
55 | + * @return boolean |
|
56 | 56 | */ |
57 | 57 | public function uninstall() |
58 | 58 | { |
@@ -75,7 +75,7 @@ |
||
75 | 75 | * |
76 | 76 | * @param int $resourceId |
77 | 77 | * @param int $type |
78 | - * @return boolean |
|
78 | + * @return boolean|null |
|
79 | 79 | */ |
80 | 80 | public function deleteResource($resourceId, $type) |
81 | 81 | { |
@@ -71,6 +71,8 @@ discard block |
||
71 | 71 | |
72 | 72 | /** |
73 | 73 | * @inheritdoc |
74 | + * @param string $toolbar |
|
75 | + * @param string $prefix |
|
74 | 76 | */ |
75 | 77 | public function __construct( |
76 | 78 | $toolbar = null, |
@@ -253,7 +255,7 @@ discard block |
||
253 | 255 | } |
254 | 256 | |
255 | 257 | /** |
256 | - * @return array |
|
258 | + * @return string[] |
|
257 | 259 | */ |
258 | 260 | public function getNewPageBlock() |
259 | 261 | { |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | } |
100 | 100 | |
101 | 101 | /** |
102 | - * @param array $array |
|
102 | + * @param string[] $array |
|
103 | 103 | */ |
104 | 104 | public function set_tools_to_build($array) |
105 | 105 | { |
@@ -512,8 +512,6 @@ discard block |
||
512 | 512 | |
513 | 513 | /** |
514 | 514 | * Build a link category |
515 | - * @param int $id Internal link ID |
|
516 | - * @param int $courseId Internal course ID |
|
517 | 515 | * @return int |
518 | 516 | */ |
519 | 517 | public function build_link_category($category) |
@@ -146,7 +146,7 @@ |
||
146 | 146 | /** |
147 | 147 | * Read the CSV-file |
148 | 148 | * @param string $file Path to the CSV-file |
149 | - * @return array All course-information read from the file |
|
149 | + * @return Ddeboer\DataImport\Reader\CsvReader All course-information read from the file |
|
150 | 150 | */ |
151 | 151 | function parse_csv_courses_data($file) |
152 | 152 | { |
@@ -435,6 +435,12 @@ |
||
435 | 435 | |
436 | 436 | /** |
437 | 437 | * Additional functions needed for fast integration |
438 | + * @param integer $status |
|
439 | + * @param string $section |
|
440 | + * @param string $title |
|
441 | + * @param string $url |
|
442 | + * @param string|null $formatter |
|
443 | + * @param string $comment |
|
438 | 444 | */ |
439 | 445 | public function build_setting( |
440 | 446 | $status, |
@@ -13,7 +13,7 @@ |
||
13 | 13 | /** |
14 | 14 | * @param string $event_name |
15 | 15 | * @param array $event_data |
16 | - * @return bool |
|
16 | + * @return false|null |
|
17 | 17 | */ |
18 | 18 | public static function events($event_name, $event_data = array()) |
19 | 19 | { |
@@ -306,7 +306,7 @@ |
||
306 | 306 | * @param bool $add_to_calendar |
307 | 307 | * @param bool $sendEmailTest |
308 | 308 | * |
309 | - * @return mixed insert_id on success, false on failure |
|
309 | + * @return false|string insert_id on success, false on failure |
|
310 | 310 | */ |
311 | 311 | public static function add_announcement( |
312 | 312 | $title, |
@@ -9,7 +9,7 @@ |
||
9 | 9 | /** |
10 | 10 | * Start a timer and hand it back to the JS by assigning the current time (of start) to |
11 | 11 | * var asset_timer |
12 | - * @return string JavaScript time intializer |
|
12 | + * @return integer JavaScript time intializer |
|
13 | 13 | */ |
14 | 14 | function start_timer() |
15 | 15 | { |