]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove useless coalescing operator on non-null return value 37533/head
authorCôme Chilliet <come.chilliet@nextcloud.com>
Thu, 30 Mar 2023 09:18:31 +0000 (11:18 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Sat, 1 Apr 2023 13:12:05 +0000 (13:12 +0000)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
lib/private/Files/Storage/Local.php

index 0f213adc9ba3026cf71381bc8f41125a94c0fd94..1ff733e0d9251313e062291688fe71acc4dd6598 100644 (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);
        }