From 8104d9f5d82db708eb68f22cb7c8cd457fcfee37 Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Thu, 30 Mar 2023 11:18:31 +0200 Subject: Remove useless coalescing operator on non-null return value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- lib/private/Files/Storage/Local.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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); } -- cgit v1.2.3