Completed
Pull Request — master (#23844)
by Sergio
15:56
created
lib/private/user.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
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
 	 */
Please login to merge, or discard this patch.
lib/private/user/session.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
lib/private/Cache/File.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,9 +90,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.