mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-26 13:08:38 -04:00
Reduce undeeded use of elvis operator ?: (#7204)
This commit is contained in:
1 parent
3280ec617f
commit
5368f38753
23 files changed
+71
-74
No files matched your search
@@ -18,7 +18,7 @@ class FreshRSS_subscription_Controller extends FreshRSS_ActionController {
|
||||
|
||||
$catDAO = FreshRSS_Factory::createCategoryDao();
|
||||
$catDAO->checkDefault();
|
||||
$this->view->categories = $catDAO->listSortedCategories(false, true) ?: [];
|
||||
$this->view->categories = $catDAO->listSortedCategories(prePopulateFeeds: false, details: true);
|
||||
|
||||
$signalError = false;
|
||||
foreach ($this->view->categories as $cat) {
|
||||
|
||||
Reference in new issue
Block a user