summaryrefslogtreecommitdiffstats
path: root/apps/encryption/hooks
diff options
context:
space:
mode:
authorScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2015-11-27 15:32:44 +0000
committerScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2015-11-27 15:32:44 +0000
commitbe4c3a8b56b2678d53a1688c8f451769b02b22ad (patch)
tree2f4aee6160c38e00714fd9d36c48c1e93e992aad /apps/encryption/hooks
parent99c28a6ce64075be0bda93b4d46759b18b06aca6 (diff)
downloadnextcloud-server-be4c3a8b56b2678d53a1688c8f451769b02b22ad.tar.gz
nextcloud-server-be4c3a8b56b2678d53a1688c8f451769b02b22ad.zip
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'apps/encryption/hooks')
-rw-r--r--apps/encryption/hooks/userhooks.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/encryption/hooks/userhooks.php b/apps/encryption/hooks/userhooks.php
index 5bd5e39f3c5..4a5f1198fcf 100644
--- a/apps/encryption/hooks/userhooks.php
+++ b/apps/encryption/hooks/userhooks.php
@@ -141,7 +141,7 @@ class UserHooks implements IHook {
*
* @note This method should never be called for users using client side encryption
* @param array $params
- * @return bool
+ * @return boolean|null
*/
public function login($params) {
@@ -199,7 +199,7 @@ class UserHooks implements IHook {
* If the password can't be changed within ownCloud, than update the key password in advance.
*
* @param array $params : uid, password
- * @return bool
+ * @return boolean|null
*/
public function preSetPassphrase($params) {
if (App::isEnabled('encryption')) {
@@ -216,7 +216,7 @@ class UserHooks implements IHook {
* Change a user's encryption passphrase
*
* @param array $params keys: uid, password
- * @return bool
+ * @return boolean|null
*/
public function setPassphrase($params) {