summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/encryption/lib/Crypto/Crypt.php2
-rw-r--r--apps/encryption/lib/Crypto/Encryption.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/encryption/lib/Crypto/Crypt.php b/apps/encryption/lib/Crypto/Crypt.php
index 9a9ac27b96f..6e1b7387c88 100644
--- a/apps/encryption/lib/Crypto/Crypt.php
+++ b/apps/encryption/lib/Crypto/Crypt.php
@@ -605,7 +605,7 @@ class Crypt {
$element = array_shift($exploded);
- while ($element != self::HEADER_END) {
+ while ($element !== self::HEADER_END) {
$result[$element] = array_shift($exploded);
$element = array_shift($exploded);
}
diff --git a/apps/encryption/lib/Crypto/Encryption.php b/apps/encryption/lib/Crypto/Encryption.php
index 1f8c8a8012e..4d20c103a5d 100644
--- a/apps/encryption/lib/Crypto/Encryption.php
+++ b/apps/encryption/lib/Crypto/Encryption.php
@@ -449,13 +449,13 @@ class Encryption implements IEncryptionModule {
return false;
}
- if ($parts[2] == 'files') {
+ if ($parts[2] === 'files') {
return true;
}
- if ($parts[2] == 'files_versions') {
+ if ($parts[2] === 'files_versions') {
return true;
}
- if ($parts[2] == 'files_trashbin') {
+ if ($parts[2] === 'files_trashbin') {
return true;
}