Browse Source
Remove useless coalescing operator on non-null return value
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/37344/head
Côme Chilliet
3 years ago
committed by
MichaIng
No known key found for this signature in database
GPG Key ID: 442B9ADE65643FE
1 changed files with
1 additions and
1 deletions
-
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); |
|
|
|
} |
|
|
|
|