@@ -117,7 +117,7 @@ |
||
117 | 117 | * Set relationType |
118 | 118 | * |
119 | 119 | * @param integer $relationType |
120 | - * @return GroupRelUser |
|
120 | + * @return UsergroupRelUser |
|
121 | 121 | */ |
122 | 122 | public function setRelationType($relationType) |
123 | 123 | { |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | /** |
60 | 60 | * @param string $headline |
61 | - * @return CategoryTranslation |
|
61 | + * @return QuestionTranslation |
|
62 | 62 | */ |
63 | 63 | public function setHeadline($headline) |
64 | 64 | { |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | |
78 | 78 | /** |
79 | 79 | * @param string $body |
80 | - * @return CategoryTranslation |
|
80 | + * @return QuestionTranslation |
|
81 | 81 | */ |
82 | 82 | public function setBody($body) |
83 | 83 | { |
@@ -20,29 +20,29 @@ discard block |
||
20 | 20 | public function getIdentifier(); |
21 | 21 | |
22 | 22 | /** |
23 | - * @return mixed |
|
23 | + * @return string |
|
24 | 24 | */ |
25 | 25 | public function getLabel(); |
26 | 26 | |
27 | 27 | /** |
28 | - * @return mixed |
|
28 | + * @return string |
|
29 | 29 | */ |
30 | 30 | public function getRoute(); |
31 | 31 | |
32 | 32 | /** |
33 | - * @return mixed |
|
33 | + * @return boolean |
|
34 | 34 | */ |
35 | 35 | public function isActive(); |
36 | 36 | |
37 | 37 | /** |
38 | - * @param $isActive |
|
38 | + * @param boolean $isActive |
|
39 | 39 | * |
40 | - * @return mixed |
|
40 | + * @return MenuItemModel |
|
41 | 41 | */ |
42 | 42 | public function setIsActive($isActive); |
43 | 43 | |
44 | 44 | /** |
45 | - * @return mixed |
|
45 | + * @return boolean |
|
46 | 46 | */ |
47 | 47 | public function hasChildren(); |
48 | 48 | |
@@ -54,14 +54,14 @@ discard block |
||
54 | 54 | /** |
55 | 55 | * @param MenuItemInterface $child |
56 | 56 | * |
57 | - * @return mixed |
|
57 | + * @return MenuItemModel |
|
58 | 58 | */ |
59 | 59 | public function addChild(MenuItemInterface $child); |
60 | 60 | |
61 | 61 | /** |
62 | 62 | * @param MenuItemInterface $child |
63 | 63 | * |
64 | - * @return mixed |
|
64 | + * @return MenuItemModel |
|
65 | 65 | */ |
66 | 66 | public function removeChild(MenuItemInterface $child); |
67 | 67 | |
@@ -76,24 +76,24 @@ discard block |
||
76 | 76 | public function getBadge(); |
77 | 77 | |
78 | 78 | /** |
79 | - * @return mixed |
|
79 | + * @return string |
|
80 | 80 | */ |
81 | 81 | public function getBadgeColor(); |
82 | 82 | |
83 | 83 | /** |
84 | - * @return mixed |
|
84 | + * @return MenuItemInterface |
|
85 | 85 | */ |
86 | 86 | public function getParent(); |
87 | 87 | |
88 | 88 | /** |
89 | - * @return mixed |
|
89 | + * @return boolean |
|
90 | 90 | */ |
91 | 91 | public function hasParent(); |
92 | 92 | |
93 | 93 | /** |
94 | 94 | * @param MenuItemInterface $parent |
95 | 95 | * |
96 | - * @return mixed |
|
96 | + * @return MenuItemModel |
|
97 | 97 | */ |
98 | 98 | public function setParent(MenuItemInterface $parent = null); |
99 | 99 |
@@ -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) |
@@ -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()) |