summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Storage/Wrapper/Encryption.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/Storage/Wrapper/Encryption.php')
-rw-r--r--lib/private/Files/Storage/Wrapper/Encryption.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Files/Storage/Wrapper/Encryption.php b/lib/private/Files/Storage/Wrapper/Encryption.php
index 68cf6f99ee5..cbe9b874501 100644
--- a/lib/private/Files/Storage/Wrapper/Encryption.php
+++ b/lib/private/Files/Storage/Wrapper/Encryption.php
@@ -87,7 +87,7 @@ class Encryption extends Wrapper {
private $mountManager;
/** @var array remember for which path we execute the repair step to avoid recursions */
- private $fixUnencryptedSizeOf = array();
+ private $fixUnencryptedSizeOf = [];
/** @var ArrayCache */
private $arrayCache;
@@ -125,7 +125,7 @@ class Encryption extends Wrapper {
$this->uid = $uid;
$this->fileHelper = $fileHelper;
$this->keyStorage = $keyStorage;
- $this->unencryptedSize = array();
+ $this->unencryptedSize = [];
$this->update = $update;
$this->mountManager = $mountManager;
$this->arrayCache = $arrayCache;
@@ -892,7 +892,7 @@ class Encryption extends Wrapper {
* @return array
*/
protected function parseRawHeader($rawHeader) {
- $result = array();
+ $result = [];
if (substr($rawHeader, 0, strlen(Util::HEADER_START)) === Util::HEADER_START) {
$header = $rawHeader;
$endAt = strpos($header, Util::HEADER_END);