@@ -18,7 +18,7 @@ |
||
18 | 18 | * |
19 | 19 | * @param string $token |
20 | 20 | * |
21 | - * @return UserInterface |
|
21 | + * @return \FOS\UserBundle\Model\UserInterface |
|
22 | 22 | */ |
23 | 23 | public function findUserByConfirmationToken($token) |
24 | 24 | { |
@@ -10,7 +10,7 @@ |
||
10 | 10 | require_once api_get_path(SYS_PATH) . 'main/auth/external_login/functions.inc.php'; |
11 | 11 | |
12 | 12 | /** |
13 | - * @return true if cas is configured |
|
13 | + * @return boolean if cas is configured |
|
14 | 14 | * |
15 | 15 | **/ |
16 | 16 | function cas_configured() |
@@ -523,7 +523,7 @@ discard block |
||
523 | 523 | /** |
524 | 524 | * Logs a string in debug mode. |
525 | 525 | * |
526 | - * @param $str the string to write |
|
526 | + * @param string $str the string to write |
|
527 | 527 | * |
528 | 528 | * @private |
529 | 529 | */ |
@@ -545,7 +545,7 @@ discard block |
||
545 | 545 | * This method is used by interface methods to print an error and where the function |
546 | 546 | * was originally called from. |
547 | 547 | * |
548 | - * @param $msg the message to print |
|
548 | + * @param string $msg the message to print |
|
549 | 549 | * |
550 | 550 | * @private |
551 | 551 | */ |
@@ -678,7 +678,7 @@ discard block |
||
678 | 678 | /** |
679 | 679 | * This method returns the phpCAS version. |
680 | 680 | * |
681 | - * @return the phpCAS version. |
|
681 | + * @return string phpCAS version. |
|
682 | 682 | */ |
683 | 683 | function getVersion() |
684 | 684 | { |
@@ -1105,7 +1105,7 @@ discard block |
||
1105 | 1105 | * @warning should not be called only after phpCAS::forceAuthentication() |
1106 | 1106 | * or phpCAS::checkAuthentication(). |
1107 | 1107 | * |
1108 | - * @return the login name of the authenticated user |
|
1108 | + * @return string login name of the authenticated user |
|
1109 | 1109 | */ |
1110 | 1110 | function getUser() |
1111 | 1111 | { |
@@ -33,6 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | /** |
35 | 35 | * |
36 | + * @param ShibbolethUser $data |
|
36 | 37 | * @return User |
37 | 38 | */ |
38 | 39 | public static function create($data = null) |
@@ -133,6 +134,7 @@ discard block |
||
133 | 134 | |
134 | 135 | /** |
135 | 136 | * |
137 | + * @param string $value |
|
136 | 138 | * @return User |
137 | 139 | */ |
138 | 140 | public function get_by_user_id($value) |
@@ -169,6 +171,7 @@ discard block |
||
169 | 171 | |
170 | 172 | /** |
171 | 173 | * |
174 | + * @param string $value |
|
172 | 175 | * @return bool |
173 | 176 | */ |
174 | 177 | public function username_exists($value) |
@@ -991,7 +991,7 @@ discard block |
||
991 | 991 | /** |
992 | 992 | * Get pictureUri |
993 | 993 | * |
994 | - * @return Media |
|
994 | + * @return string |
|
995 | 995 | */ |
996 | 996 | public function getPictureUri() |
997 | 997 | { |
@@ -1368,7 +1368,7 @@ discard block |
||
1368 | 1368 | } |
1369 | 1369 | |
1370 | 1370 | /** |
1371 | - * @return Media |
|
1371 | + * @return string |
|
1372 | 1372 | */ |
1373 | 1373 | public function getAvatar() |
1374 | 1374 | { |
@@ -1637,7 +1637,7 @@ discard block |
||
1637 | 1637 | /** |
1638 | 1638 | * Returns the creation date. |
1639 | 1639 | * |
1640 | - * @return \DateTime|null |
|
1640 | + * @return \DateTime |
|
1641 | 1641 | */ |
1642 | 1642 | public function getCreatedAt() |
1643 | 1643 | { |
@@ -1661,7 +1661,7 @@ discard block |
||
1661 | 1661 | /** |
1662 | 1662 | * Returns the last update date. |
1663 | 1663 | * |
1664 | - * @return \DateTime|null |
|
1664 | + * @return \DateTime |
|
1665 | 1665 | */ |
1666 | 1666 | public function getUpdatedAt() |
1667 | 1667 | { |
@@ -1671,7 +1671,7 @@ discard block |
||
1671 | 1671 | /** |
1672 | 1672 | * Returns the expiration date. |
1673 | 1673 | * |
1674 | - * @return \DateTime|null |
|
1674 | + * @return \DateTime |
|
1675 | 1675 | */ |
1676 | 1676 | public function getExpiresAt() |
1677 | 1677 | { |
@@ -2137,7 +2137,7 @@ discard block |
||
2137 | 2137 | /** |
2138 | 2138 | * Returns the user roles |
2139 | 2139 | * |
2140 | - * @return array The roles |
|
2140 | + * @return string[] The roles |
|
2141 | 2141 | */ |
2142 | 2142 | public function getRoles() |
2143 | 2143 | { |
@@ -2463,7 +2463,7 @@ discard block |
||
2463 | 2463 | /** |
2464 | 2464 | * Check if the user has the skill |
2465 | 2465 | * @param \Chamilo\CoreBundle\Entity\Skill $skill The skill |
2466 | - * @return boolean |
|
2466 | + * @return boolean|null |
|
2467 | 2467 | */ |
2468 | 2468 | public function hasSkill(\Chamilo\CoreBundle\Entity\Skill $skill) |
2469 | 2469 | { |
@@ -267,7 +267,7 @@ |
||
267 | 267 | * @param string $author |
268 | 268 | * @param string $filename |
269 | 269 | * @param int $filesize |
270 | - * @param array $recipient_ids |
|
270 | + * @param unknown_type|null $recipient_ids |
|
271 | 271 | */ |
272 | 272 | public function _createNewSentWork($uploader_id, $title, $description, $author, $filename, $filesize, $recipient_ids) |
273 | 273 | { |
@@ -1545,7 +1545,7 @@ |
||
1545 | 1545 | * Retrieve all categories inside a course independent category |
1546 | 1546 | * that should be visible to a student. |
1547 | 1547 | * @param integer $cat_id parent category |
1548 | - * @param $stud_id student id |
|
1548 | + * @param integer $stud_id student id |
|
1549 | 1549 | * @param $cats optional: if defined, the categories will be added to this array |
1550 | 1550 | */ |
1551 | 1551 | public function get_independent_categories_with_result_for_student($cat_id, $stud_id, $cats = array()) |
@@ -273,7 +273,7 @@ |
||
273 | 273 | |
274 | 274 | |
275 | 275 | /** |
276 | - * @param array $result |
|
276 | + * @param Doctrine\DBAL\Driver\Statement|null $result |
|
277 | 277 | * @return array |
278 | 278 | */ |
279 | 279 | private static function create_evaluation_objects_from_sql_result($result) |
@@ -359,7 +359,7 @@ discard block |
||
359 | 359 | |
360 | 360 | /** |
361 | 361 | * Get description titles by default |
362 | - * @return array |
|
362 | + * @return string[] |
|
363 | 363 | */ |
364 | 364 | public function get_default_description_title() |
365 | 365 | { |
@@ -378,7 +378,7 @@ discard block |
||
378 | 378 | |
379 | 379 | /** |
380 | 380 | * Get description titles editable by default |
381 | - * @return array |
|
381 | + * @return boolean[] |
|
382 | 382 | */ |
383 | 383 | public function get_default_description_title_editable() |
384 | 384 | { |
@@ -397,7 +397,7 @@ discard block |
||
397 | 397 | |
398 | 398 | /** |
399 | 399 | * Get description icons by default |
400 | - * @return array |
|
400 | + * @return string[] |
|
401 | 401 | */ |
402 | 402 | public function get_default_description_icon() |
403 | 403 | { |
@@ -417,7 +417,7 @@ discard block |
||
417 | 417 | |
418 | 418 | /** |
419 | 419 | * Get questions by default for help |
420 | - * @return array |
|
420 | + * @return string[] |
|
421 | 421 | */ |
422 | 422 | public function get_default_question() |
423 | 423 | { |
@@ -436,7 +436,7 @@ discard block |
||
436 | 436 | |
437 | 437 | /** |
438 | 438 | * Get informations by default for help |
439 | - * @return array |
|
439 | + * @return string[] |
|
440 | 440 | */ |
441 | 441 | public function get_default_information() |
442 | 442 | { |