@@ -25,7 +25,7 @@ |
||
25 | 25 | * @Route("/", name="contact") |
26 | 26 | * |
27 | 27 | * @param Request $request |
28 | - * @return mixed |
|
28 | + * @return Response |
|
29 | 29 | */ |
30 | 30 | public function indexAction(Request $request) |
31 | 31 | { |
@@ -212,7 +212,7 @@ |
||
212 | 212 | |
213 | 213 | /** |
214 | 214 | * @param array $file |
215 | - * @return bool|string |
|
215 | + * @return string|false |
|
216 | 216 | */ |
217 | 217 | public static function importUploadedFile($file) |
218 | 218 | { |
@@ -37,7 +37,7 @@ |
||
37 | 37 | * course |
38 | 38 | * @param string $backupType 'full_backup' or 'select_items' |
39 | 39 | * |
40 | - * @return bool |
|
40 | + * @return false|null |
|
41 | 41 | * |
42 | 42 | * @assert (null) === false |
43 | 43 | */ |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * Asset constructor. |
19 | 19 | * @param int $id |
20 | 20 | * @param int $path |
21 | - * @param $title |
|
21 | + * @param string $title |
|
22 | 22 | */ |
23 | 23 | public function __construct($id, $path, $title) |
24 | 24 | { |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | * Formats a number depending of the number of decimals |
278 | 278 | * |
279 | 279 | * @param float $score |
280 | - * @return float the score formatted |
|
280 | + * @return boolean|string the score formatted |
|
281 | 281 | */ |
282 | 282 | public function format_score($score) |
283 | 283 | { |
@@ -391,7 +391,7 @@ discard block |
||
391 | 391 | |
392 | 392 | /** |
393 | 393 | * @param array $score |
394 | - * @return float|string |
|
394 | + * @return boolean|string |
|
395 | 395 | */ |
396 | 396 | private function display_simple_score($score) |
397 | 397 | { |
@@ -404,7 +404,7 @@ discard block |
||
404 | 404 | /** |
405 | 405 | * Returns "1" for array("100", "100"); |
406 | 406 | * @param array $score |
407 | - * @return float |
|
407 | + * @return boolean|string |
|
408 | 408 | */ |
409 | 409 | private function display_as_decimal($score) |
410 | 410 | { |
@@ -1022,7 +1022,6 @@ |
||
1022 | 1022 | * Processes an IMS/QTI manifest file: store links to new files |
1023 | 1023 | * to be able to transform them into the questions text |
1024 | 1024 | * @param string $filePath The absolute filepath |
1025 | - * @param array $links List of filepaths changes |
|
1026 | 1025 | * @return bool |
1027 | 1026 | */ |
1028 | 1027 | function qtiProcessManifest($filePath) |
@@ -51,7 +51,7 @@ |
||
51 | 51 | * @param string $objectives |
52 | 52 | * @param string $target_audience |
53 | 53 | * @param int $user_id |
54 | - * @return mixed The database id of the newly created course request or FALSE on failure. |
|
54 | + * @return false|string The database id of the newly created course request or FALSE on failure. |
|
55 | 55 | */ |
56 | 56 | public static function create_course_request( |
57 | 57 | $wanted_code, |
@@ -28,7 +28,7 @@ |
||
28 | 28 | public $isAdminPlugin = true; |
29 | 29 | /** |
30 | 30 | * |
31 | - * @return StaticPlugin |
|
31 | + * @return SepePlugin |
|
32 | 32 | */ |
33 | 33 | public static function create() |
34 | 34 | { |
@@ -1230,6 +1230,7 @@ discard block |
||
1230 | 1230 | * @param string $answer |
1231 | 1231 | * @param string $correct |
1232 | 1232 | * @param bool $resultsDisabled |
1233 | + * @param integer $feedbackType |
|
1233 | 1234 | * |
1234 | 1235 | * @return string |
1235 | 1236 | */ |
@@ -1243,6 +1244,7 @@ discard block |
||
1243 | 1244 | * @param string $answer |
1244 | 1245 | * @param string $correct |
1245 | 1246 | * @param bool $resultsDisabled |
1247 | + * @param integer $feedbackType |
|
1246 | 1248 | * |
1247 | 1249 | * @return string |
1248 | 1250 | */ |