@@ -995,7 +995,7 @@ discard block |
||
995 | 995 | /** |
996 | 996 | * Get pictureUri |
997 | 997 | * |
998 | - * @return Media |
|
998 | + * @return string |
|
999 | 999 | */ |
1000 | 1000 | public function getPictureUri() |
1001 | 1001 | { |
@@ -1303,7 +1303,7 @@ discard block |
||
1303 | 1303 | } |
1304 | 1304 | |
1305 | 1305 | /** |
1306 | - * @return Media |
|
1306 | + * @return string |
|
1307 | 1307 | */ |
1308 | 1308 | public function getAvatar() |
1309 | 1309 | { |
@@ -2078,7 +2078,7 @@ discard block |
||
2078 | 2078 | /** |
2079 | 2079 | * Returns the user roles |
2080 | 2080 | * |
2081 | - * @return array The roles |
|
2081 | + * @return string[] The roles |
|
2082 | 2082 | */ |
2083 | 2083 | public function getRoles() |
2084 | 2084 | { |
@@ -2403,7 +2403,7 @@ discard block |
||
2403 | 2403 | /** |
2404 | 2404 | * Check if the user has the skill |
2405 | 2405 | * @param Skill $skill The skill |
2406 | - * @return boolean |
|
2406 | + * @return boolean|null |
|
2407 | 2407 | */ |
2408 | 2408 | public function hasSkill(Skill $skill) |
2409 | 2409 | { |
@@ -20,8 +20,8 @@ |
||
20 | 20 | |
21 | 21 | /** |
22 | 22 | * Class constructor |
23 | - * @param $username |
|
24 | - * @param $apiKey |
|
23 | + * @param string $username |
|
24 | + * @param string $apiKey |
|
25 | 25 | */ |
26 | 26 | protected function __construct($username, $apiKey) |
27 | 27 | { |
@@ -318,7 +318,6 @@ |
||
318 | 318 | } |
319 | 319 | |
320 | 320 | /** |
321 | - * @param int $courseId |
|
322 | 321 | * @return array |
323 | 322 | * @throws Exception |
324 | 323 | */ |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | } |
46 | 46 | |
47 | 47 | /** |
48 | - * @return array |
|
48 | + * @return string[] |
|
49 | 49 | */ |
50 | 50 | public static function getFoldersToDelete() |
51 | 51 | { |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
98 | - * @return array |
|
98 | + * @return string[] |
|
99 | 99 | */ |
100 | 100 | public static function getFilesToDelete() |
101 | 101 | { |
@@ -25,7 +25,7 @@ |
||
25 | 25 | /** |
26 | 26 | * Get the class instance |
27 | 27 | * @staticvar MsiLtiPlugin $result |
28 | - * @return MsiLtiPlugin |
|
28 | + * @return ImsLtiPlugin |
|
29 | 29 | */ |
30 | 30 | public static function create() |
31 | 31 | { |
@@ -20,6 +20,9 @@ |
||
20 | 20 | return $this->id; |
21 | 21 | } |
22 | 22 | |
23 | + /** |
|
24 | + * @return string |
|
25 | + */ |
|
23 | 26 | public function getName() |
24 | 27 | { |
25 | 28 | return $this->name; |
@@ -218,7 +218,7 @@ |
||
218 | 218 | /** |
219 | 219 | * Displays the tools of a certain category. |
220 | 220 | * |
221 | - * @return void |
|
221 | + * @return string |
|
222 | 222 | * @param string $course_tool_category contains the category of tools to display: |
223 | 223 | * "Public", "PublicButHide", "courseAdmin", "claroAdmin" |
224 | 224 | */ |
@@ -285,7 +285,7 @@ discard block |
||
285 | 285 | |
286 | 286 | /** |
287 | 287 | * @param $item |
288 | - * @param $ignore_score_color |
|
288 | + * @param boolean $ignore_score_color |
|
289 | 289 | * @return string |
290 | 290 | */ |
291 | 291 | private function build_average_column($item, $ignore_score_color) |
@@ -306,7 +306,7 @@ discard block |
||
306 | 306 | |
307 | 307 | /** |
308 | 308 | * @param $item |
309 | - * @param $ignore_score_color |
|
309 | + * @param boolean $ignore_score_color |
|
310 | 310 | * @return string |
311 | 311 | */ |
312 | 312 | private function build_result_column($item, $ignore_score_color) |
@@ -323,7 +323,7 @@ discard block |
||
323 | 323 | |
324 | 324 | /** |
325 | 325 | * @param $item |
326 | - * @param $ignore_score_color |
|
326 | + * @param boolean $ignore_score_color |
|
327 | 327 | * @return string |
328 | 328 | */ |
329 | 329 | private function build_mask_column($item, $ignore_score_color) |
@@ -339,7 +339,7 @@ discard block |
||
339 | 339 | |
340 | 340 | /** |
341 | 341 | * @param $coursecode |
342 | - * @return mixed |
|
342 | + * @return string |
|
343 | 343 | */ |
344 | 344 | private function get_course_name_from_code_cached($coursecode) |
345 | 345 | { |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * |
19 | 19 | * @param string $token |
20 | 20 | * |
21 | - * @return UserInterface |
|
21 | + * @return \FOS\UserBundle\Model\UserInterface|null |
|
22 | 22 | */ |
23 | 23 | public function findUserByConfirmationToken($token) |
24 | 24 | { |