diff options
| author | 2023-07-07 22:36:27 +0200 | |
|---|---|---|
| committer | 2023-07-07 22:36:27 +0200 | |
| commit | f8f163d054110f7e0ff6650fca146b474335f4bd (patch) | |
| tree | dbd831e600bc76ca2830cd417bd52b712ff97309 /app/Controllers/categoryController.php | |
| parent | 7f9594b8c7d7799f2e5f89328bd5981410db8cf0 (diff) | |
Chore/processing of depreciations and updating code to php72 minimum (#5504)
* processing of depreciations and updating of code to php7.2 minimum
* Autoformat many strange array indenting
And revert a few unwanted changes
---------
Co-authored-by: Luc <sanchezluc+freshrss@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/Controllers/categoryController.php')
| -rw-r--r-- | app/Controllers/categoryController.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/Controllers/categoryController.php b/app/Controllers/categoryController.php index 60685c566..630399bf4 100644 --- a/app/Controllers/categoryController.php +++ b/app/Controllers/categoryController.php @@ -30,7 +30,7 @@ class FreshRSS_category_Controller extends FreshRSS_ActionController { $catDAO = FreshRSS_Factory::createCategoryDao(); $tagDAO = FreshRSS_Factory::createTagDao(); - $url_redirect = array('c' => 'subscription', 'a' => 'add'); + $url_redirect = ['c' => 'subscription', 'a' => 'add']; $limits = FreshRSS_Context::$system_conf->limits; $this->view->categories = $catDAO->listCategories(false) ?: []; @@ -88,7 +88,7 @@ class FreshRSS_category_Controller extends FreshRSS_ActionController { */ public function updateAction(): void { $catDAO = FreshRSS_Factory::createCategoryDao(); - $url_redirect = array('c' => 'subscription', 'a' => 'index'); + $url_redirect = ['c' => 'subscription', 'a' => 'index']; if (Minz_Request::isPost()) { invalidateHttpCache(); @@ -131,7 +131,7 @@ class FreshRSS_category_Controller extends FreshRSS_ActionController { public function deleteAction(): void { $feedDAO = FreshRSS_Factory::createFeedDao(); $catDAO = FreshRSS_Factory::createCategoryDao(); - $url_redirect = array('c' => 'subscription', 'a' => 'index'); + $url_redirect = ['c' => 'subscription', 'a' => 'index']; if (Minz_Request::isPost()) { invalidateHttpCache(); @@ -174,7 +174,7 @@ class FreshRSS_category_Controller extends FreshRSS_ActionController { */ public function emptyAction(): void { $feedDAO = FreshRSS_Factory::createFeedDao(); - $url_redirect = array('c' => 'subscription', 'a' => 'index'); + $url_redirect = ['c' => 'subscription', 'a' => 'index']; if (Minz_Request::isPost()) { invalidateHttpCache(); @@ -214,7 +214,7 @@ class FreshRSS_category_Controller extends FreshRSS_ActionController { */ public function refreshOpmlAction(): void { $catDAO = FreshRSS_Factory::createCategoryDao(); - $url_redirect = array('c' => 'subscription', 'a' => 'index'); + $url_redirect = ['c' => 'subscription', 'a' => 'index']; if (Minz_Request::isPost()) { invalidateHttpCache(); |
