@@ -152,7 +152,7 @@ |
||
152 | 152 | * |
153 | 153 | * @param string $loginname The login name of the user to log in |
154 | 154 | * @param string $password The password of the user |
155 | - * @return boolean|null |
|
155 | + * @return boolean |
|
156 | 156 | * |
157 | 157 | * Log in a user and regenerate a new session - if the password is ok |
158 | 158 | */ |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | /** |
140 | 140 | * get the current active user |
141 | 141 | * |
142 | - * @return \OCP\IUser|null Current user, otherwise null |
|
142 | + * @return null|User Current user, otherwise null |
|
143 | 143 | */ |
144 | 144 | public function getUser() { |
145 | 145 | // FIXME: This is a quick'n dirty work-around for the incognito mode as |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | * |
212 | 212 | * @param string $uid |
213 | 213 | * @param string $password |
214 | - * @return boolean|null |
|
214 | + * @return boolean |
|
215 | 215 | * @throws LoginException |
216 | 216 | */ |
217 | 217 | public function login($uid, $password) { |
@@ -90,9 +90,9 @@ |
||
90 | 90 | |
91 | 91 | /** |
92 | 92 | * @param string $key |
93 | - * @param mixed $value |
|
93 | + * @param string|null $value |
|
94 | 94 | * @param int $ttl |
95 | - * @return bool|mixed |
|
95 | + * @return boolean |
|
96 | 96 | * @throws \OC\ForbiddenException |
97 | 97 | */ |
98 | 98 | public function set($key, $value, $ttl = 0) { |