Completed
Pull Request — master (#28455)
by Tom
14:25
created
core/Command/Encryption/ParallelDecryptAll.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -30,11 +30,9 @@
 block discarded – undo
30 30
 use OCP\IConfig;
31 31
 use Symfony\Component\Console\Command\Command;
32 32
 use Symfony\Component\Console\Helper\ProgressBar;
33
-use Symfony\Component\Console\Helper\QuestionHelper;
34 33
 use Symfony\Component\Console\Input\InputArgument;
35 34
 use Symfony\Component\Console\Input\InputInterface;
36 35
 use Symfony\Component\Console\Output\OutputInterface;
37
-use Symfony\Component\Console\Question\ConfirmationQuestion;
38 36
 
39 37
 class ParallelDecryptAll extends Command {
40 38
 
Please login to merge, or discard this patch.
apps/encryption/lib/Crypto/DecryptAll.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 	 *
76 76
 	 * @param InputInterface $input
77 77
 	 * @param OutputInterface $output
78
-	 * @param $user
78
+	 * @param string $user
79 79
 	 * @return bool
80 80
 	 */
81 81
 	public function prepare(InputInterface $input, OutputInterface $output, $user) {
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 	 *
136 136
 	 * @param string $user
137 137
 	 * @param string $password
138
-	 * @return bool|string
138
+	 * @return false|string
139 139
 	 * @throws \OCA\Encryption\Exceptions\PrivateKeyMissingException
140 140
 	 */
141 141
 	protected function getPrivateKey($user, $password) {
@@ -155,6 +155,9 @@  discard block
 block discarded – undo
155 155
 		return $privateKey;
156 156
 	}
157 157
 
158
+	/**
159
+	 * @param string $privateKey
160
+	 */
158 161
 	protected function updateSession($user, $privateKey) {
159 162
 		$this->session->prepareDecryptAll($user, $privateKey);
160 163
 	}
Please login to merge, or discard this patch.