aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-03-30 11:18:31 +0200
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-04-01 13:12:05 +0000
commit599e85b341973bae7f6b1104a2790ead29f22375 (patch)
tree305cb5e480a711100233d310dbfdb61d499f9261 /lib
parenta0beacde69245d409604a7d0722286d8290d6563 (diff)
downloadnextcloud-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.php2
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);
}