diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2021-03-04 14:49:58 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2021-03-09 09:49:45 +0100 |
commit | 618805b14f163e630577f9ad701b12fa017a1d70 (patch) | |
tree | 7a4a0d74e31cfc97477c9d3b90de3c327942e00f /lib/private/Cache | |
parent | 7198bed22d07493f7d5b98e0a0525e8c22b8361f (diff) | |
download | nextcloud-server-618805b14f163e630577f9ad701b12fa017a1d70.tar.gz nextcloud-server-618805b14f163e630577f9ad701b12fa017a1d70.zip |
Fix RedundantPropertyInitializationCheck
For #25839
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Cache')
-rw-r--r-- | lib/private/Cache/File.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Cache/File.php b/lib/private/Cache/File.php index 04ec33f7615..756bc9c36a5 100644 --- a/lib/private/Cache/File.php +++ b/lib/private/Cache/File.php @@ -49,7 +49,7 @@ class File implements ICache { * @throws \OC\User\NoUserException */ protected function getStorage() { - if (isset($this->storage)) { + if ($this->storage !== null) { return $this->storage; } if (\OC::$server->getUserSession()->isLoggedIn()) { |