diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-03-30 11:18:31 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-04-01 13:12:05 +0000 |
commit | 599e85b341973bae7f6b1104a2790ead29f22375 (patch) | |
tree | 305cb5e480a711100233d310dbfdb61d499f9261 /lib | |
parent | a0beacde69245d409604a7d0722286d8290d6563 (diff) | |
download | nextcloud-server-599e85b341973bae7f6b1104a2790ead29f22375.tar.gz nextcloud-server-599e85b341973bae7f6b1104a2790ead29f22375.zip |
Remove useless coalescing operator on non-null return value
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/Storage/Local.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php index 0f213adc9ba..1ff733e0d92 100644 --- a/lib/private/Files/Storage/Local.php +++ b/lib/private/Files/Storage/Local.php @@ -249,7 +249,7 @@ class Local extends \OC\Files\Storage\Common { $fullPath = $this->getSourcePath($path); if (PHP_INT_SIZE === 4) { $helper = new \OC\LargeFileHelper; - return $helper->getFileSize($fullPath) ?? false; + return $helper->getFileSize($fullPath); } return filesize($fullPath); } |