Skip to content

Commit 9442cce

Browse files
committed
Remove useless coalescing operator on non-null return value
Signed-off-by: Côme Chilliet <[email protected]>
1 parent c32ced1 commit 9442cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Files/Storage/Local.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public function filesize($path): false|int|float {
249249
$fullPath = $this->getSourcePath($path);
250250
if (PHP_INT_SIZE === 4) {
251251
$helper = new \OC\LargeFileHelper;
252-
return $helper->getFileSize($fullPath) ?? false;
252+
return $helper->getFileSize($fullPath);
253253
}
254254
return filesize($fullPath);
255255
}

0 commit comments

Comments
 (0)