diff options
| author | 2025-01-10 08:13:09 +0100 | |
|---|---|---|
| committer | 2025-01-10 08:13:09 +0100 | |
| commit | 5368f38753a3e655ed3d7d7dfc7af2cc22de7980 (patch) | |
| tree | decb975aa750660cea965bf61399df2335493b9d /app/Services/ImportService.php | |
| parent | 3280ec617f8081bf0d5349e441ae564a42fdc500 (diff) | |
Reduce undeeded use of elvis operator ?: (#7204)
Diffstat (limited to 'app/Services/ImportService.php')
| -rw-r--r-- | app/Services/ImportService.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
