@@ -357,7 +357,7 @@ |
||
357 | 357 | * @param int $delta |
358 | 358 | * @param int $numpoints |
359 | 359 | * @param bool $firsttime |
360 | - * @return int New bias |
|
360 | + * @return double New bias |
|
361 | 361 | */ |
362 | 362 | protected static function adapt($delta, $numpoints, $firsttime) { |
363 | 363 | # function adapt(delta,numpoints,firsttime): |
@@ -249,7 +249,7 @@ discard block |
||
249 | 249 | * |
250 | 250 | * Returns false if $base is not absolute, otherwise an IRI. |
251 | 251 | * |
252 | - * @param IRI|string $base (Absolute) Base IRI |
|
252 | + * @param string $base (Absolute) Base IRI |
|
253 | 253 | * @param IRI|string $relative Relative IRI |
254 | 254 | * @return IRI|false |
255 | 255 | */ |
@@ -984,6 +984,7 @@ discard block |
||
984 | 984 | * Convert an IRI to a URI (or parts thereof) |
985 | 985 | * |
986 | 986 | * @param string|bool IRI to convert (or false from {@see get_iri}) |
987 | + * @param false|string $string |
|
987 | 988 | * @return string|false URI if IRI is valid, false otherwise. |
988 | 989 | */ |
989 | 990 | protected function to_uri($string) { |
@@ -232,7 +232,7 @@ |
||
232 | 232 | * |
233 | 233 | * @param array $request Request data (same form as {@see request_multiple}) |
234 | 234 | * @param boolean $merge_options Should we merge options as well? |
235 | - * @return array Request data |
|
235 | + * @return string Request data |
|
236 | 236 | */ |
237 | 237 | protected function merge_request($request, $merge_options = true) { |
238 | 238 | if ($this->url !== null) { |
@@ -170,7 +170,6 @@ |
||
170 | 170 | |
171 | 171 | /** |
172 | 172 | * Return the active logo of the portal, based on a series of settings |
173 | - * @param string $theme The name of the theme folder from web/css/themes/ |
|
174 | 173 | * @return string HTML string with logo as an HTML element |
175 | 174 | */ |
176 | 175 | function return_logo() |
@@ -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 | { |
@@ -1003,7 +1003,6 @@ |
||
1003 | 1003 | /** |
1004 | 1004 | * Processes an IMS/QTI manifest file: store links to new files to be able to transform them into the questions text |
1005 | 1005 | * @param string $filePath The absolute filepath |
1006 | - * @param array $links List of filepaths changes |
|
1007 | 1006 | * @return bool |
1008 | 1007 | */ |
1009 | 1008 | function qtiProcessManifest($filePath) |
@@ -271,7 +271,7 @@ |
||
271 | 271 | } |
272 | 272 | |
273 | 273 | /** |
274 | - * @param array $result |
|
274 | + * @param Doctrine\DBAL\Driver\Statement|null $result |
|
275 | 275 | * @return array |
276 | 276 | */ |
277 | 277 | private static function create_evaluation_objects_from_sql_result($result) |
@@ -671,7 +671,7 @@ discard block |
||
671 | 671 | * @param int $allDay is all day 'true' or 'false' |
672 | 672 | * @param string $title |
673 | 673 | * @param string $content |
674 | - * @param array $usersToSend |
|
674 | + * @param string[] $usersToSend |
|
675 | 675 | * @param array $attachmentArray |
676 | 676 | * @param array $attachmentCommentList |
677 | 677 | * @param string $comment |
@@ -679,7 +679,7 @@ discard block |
||
679 | 679 | * @param bool $addAnnouncement |
680 | 680 | * @param bool $updateContent |
681 | 681 | * |
682 | - * @return null|false |
|
682 | + * @return null|boolean |
|
683 | 683 | */ |
684 | 684 | public function editEvent( |
685 | 685 | $id, |
@@ -1380,6 +1380,7 @@ discard block |
||
1380 | 1380 | * Gets a single event |
1381 | 1381 | * |
1382 | 1382 | * @param int event id |
1383 | + * @param integer $id |
|
1383 | 1384 | * @return array |
1384 | 1385 | */ |
1385 | 1386 | public function get_event($id) |