summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-09-15 17:03:34 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-09-15 17:03:34 +0200
commitae9ea244f2c933b25ccfe51b55ef5265bfef3f2d (patch)
treed2d4fb2653139d5ffe151f0869073dae143520fc
parent650e600b942d830460bb96de6726bdd1e8284a8e (diff)
parent7953cc9494537c368b117c5e0d759b4e7b318db7 (diff)
downloadnextcloud-server-ae9ea244f2c933b25ccfe51b55ef5265bfef3f2d.tar.gz
nextcloud-server-ae9ea244f2c933b25ccfe51b55ef5265bfef3f2d.zip
Merge pull request #19043 from owncloud/fix-php-doc-of-encrypt-all
Function does return void
-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);