summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-09-15 14:02:10 +0200
committerLukas Reschke <lukas@owncloud.com>2015-09-15 14:02:10 +0200
commit7953cc9494537c368b117c5e0d759b4e7b318db7 (patch)
tree3d8ff5062cee623f52787944c72820fd8d3b522f
parente82a225d0440738a629f490c6f38e8cdc7f772c5 (diff)
downloadnextcloud-server-7953cc9494537c368b117c5e0d759b4e7b318db7.tar.gz
nextcloud-server-7953cc9494537c368b117c5e0d759b4e7b318db7.zip
Function does return void
This function does return void and not a bool.
-rw-r--r--apps/encryption/lib/crypto/encryption.php3
-rw-r--r--lib/public/encryption/iencryptionmodule.php1
2 files changed, 1 insertions, 3 deletions
diff --git a/apps/encryption/lib/crypto/encryption.php b/apps/encryption/lib/crypto/encryption.php
index d2925e1b6be..c62afac83c1 100644
--- a/apps/encryption/lib/crypto/encryption.php
+++ b/apps/encryption/lib/crypto/encryption.php
@@ -421,10 +421,9 @@ class Encryption implements IEncryptionModule {
*
* @param InputInterface $input
* @param OutputInterface $output write some status information to the terminal during encryption
- * @return bool
*/
public function encryptAll(InputInterface $input, OutputInterface $output) {
- return $this->encryptAll->encryptAll($input, $output);
+ $this->encryptAll->encryptAll($input, $output);
}
/**
diff --git a/lib/public/encryption/iencryptionmodule.php b/lib/public/encryption/iencryptionmodule.php
index a5cd7075691..0fa0dc570db 100644
--- a/lib/public/encryption/iencryptionmodule.php
+++ b/lib/public/encryption/iencryptionmodule.php
@@ -141,7 +141,6 @@ interface IEncryptionModule {
*
* @param InputInterface $input
* @param OutputInterface $output write some status information to the terminal during encryption
- * @return bool
* @since 8.2.0
*/
public function encryptAll(InputInterface $input, OutputInterface $output);