Skip to content

Commit e4f6ece

Browse files
cuppettartonge
andcommitted
fix(encryption): Missed explicit typing
Apply suggestion from @artonge Co-authored-by: Louis <louis@chmn.me> Signed-off-by: Stephen Cuppett <steve@cuppett.com>
1 parent d0e3b3e commit e4f6ece

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/encryption/lib/Util.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function shouldEncryptHomeStorage() {
6262
* @param bool $encryptHomeStorage
6363
*/
6464
public function setEncryptHomeStorage($encryptHomeStorage) {
65-
$this->appConfig->setValueBool('encryption', 'encryptHomeStorage', (bool)$encryptHomeStorage);
65+
$this->appConfig->setValueBool('encryption', 'encryptHomeStorage', $encryptHomeStorage);
6666
}
6767

6868
/**

0 commit comments

Comments
 (0)