aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-03-30 11:18:31 +0200
committerMichaIng <micha@dietpi.com>2023-04-01 14:20:26 +0200
commit8104d9f5d82db708eb68f22cb7c8cd457fcfee37 (patch)
tree9f0860ca2fa325a4b1ef06a9629730c3abaf490a /lib
parentda618c457a72814e65b7399b141db7e123091451 (diff)
downloadnextcloud-server-8104d9f5d82db708eb68f22cb7c8cd457fcfee37.tar.gz
nextcloud-server-8104d9f5d82db708eb68f22cb7c8cd457fcfee37.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);
}