From 5368f38753a3e655ed3d7d7dfc7af2cc22de7980 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 10 Jan 2025 08:13:09 +0100 Subject: Reduce undeeded use of elvis operator ?: (#7204) --- app/Services/ImportService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Services/ImportService.php') diff --git a/app/Services/ImportService.php b/app/Services/ImportService.php index 142a0ce09..00bb89229 100644 --- a/app/Services/ImportService.php +++ b/app/Services/ImportService.php @@ -58,7 +58,7 @@ class FreshRSS_Import_Service { // Get the categories by names so we can use this array to retrieve // existing categories later. - $categories = $this->catDAO->listCategories(false) ?: []; + $categories = $this->catDAO->listCategories(prePopulateFeeds: false); $categories_by_names = []; foreach ($categories as $category) { $categories_by_names[$category->name()] = $category; -- cgit v1.2.3