diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2021-02-18 14:05:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-18 14:05:54 +0100 |
commit | 5026d2cca10fa65be68367002eff147d7dc71077 (patch) | |
tree | d4d7119b0b8f547aebcc857c5297fc52ccc5a4b3 /lib/private/Encryption/Keys/Storage.php | |
parent | bbb39cf3deb350738a28b5f5bdf40572f1406897 (diff) | |
parent | eb502c02ff7693bb36318d857985f79e7bac370c (diff) | |
download | nextcloud-server-5026d2cca10fa65be68367002eff147d7dc71077.tar.gz nextcloud-server-5026d2cca10fa65be68367002eff147d7dc71077.zip |
Merge pull request #25086 from nextcloud/dependabot/composer/nextcloud/coding-standard-0.5.0
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
Diffstat (limited to 'lib/private/Encryption/Keys/Storage.php')
-rw-r--r-- | lib/private/Encryption/Keys/Storage.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Encryption/Keys/Storage.php b/lib/private/Encryption/Keys/Storage.php index c70ebc15ec2..6d43813b0f1 100644 --- a/lib/private/Encryption/Keys/Storage.php +++ b/lib/private/Encryption/Keys/Storage.php @@ -365,7 +365,7 @@ class Storage implements IStorage { * @return string */ private function getFileKeyDir($encryptionModuleId, $path) { - list($owner, $filename) = $this->util->getUidAndFilename($path); + [$owner, $filename] = $this->util->getUidAndFilename($path); // in case of system wide mount points the keys are stored directly in the data directory if ($this->util->isSystemWideMountPoint($filename, $owner)) { @@ -457,7 +457,7 @@ class Storage implements IStorage { * @return string */ protected function getPathToKeys($path) { - list($owner, $relativePath) = $this->util->getUidAndFilename($path); + [$owner, $relativePath] = $this->util->getUidAndFilename($path); $systemWideMountPoint = $this->util->isSystemWideMountPoint($relativePath, $owner); if ($systemWideMountPoint) { |