Completed
Pull Request — master (#25656)
by Thomas
12:45
created
apps/federatedfilesharing/lib/Notifications.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
 	 *
142 142
 	 * @note This method should never be called for users using client side encryption
143 143
 	 * @param array $params
144
-	 * @return bool
144
+	 * @return boolean|null
145 145
 	 */
146 146
 	public function login($params) {
147 147
 
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
 	 * If the password can't be changed within ownCloud, than update the key password in advance.
200 200
 	 *
201 201
 	 * @param array $params : uid, password
202
-	 * @return bool
202
+	 * @return boolean|null
203 203
 	 */
204 204
 	public function preSetPassphrase($params) {
205 205
 		if (App::isEnabled('encryption')) {
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
 	 * Change a user's encryption passphrase
217 217
 	 *
218 218
 	 * @param array $params keys: uid, password
219
-	 * @return bool
219
+	 * @return boolean|null
220 220
 	 */
221 221
 	public function setPassphrase($params) {
222 222
 
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
 use OCP\BackgroundJob\IJobList;
30 30
 use OCP\Http\Client\IClientService;
31 31
 use GuzzleHttp\Exception\ClientException;
32
-use GuzzleHttp\Exception\RequestException;
33 32
 
34 33
 class Notifications {
35 34
 	const RESPONSE_FORMAT = 'json'; // default response format for ocs calls
Please login to merge, or discard this patch.