Remove useless coalescing operator on non-null return value

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2023-03-30 11:18:31 +02:00 committed by MichaIng
parent da618c457a
commit 8104d9f5d8
No known key found for this signature in database
GPG key ID: 0442B9ADE65643FE

View file

@ -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);
}