aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/errorController.php
diff options
context:
space:
mode:
authorGravatar Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> 2023-07-07 22:36:27 +0200
committerGravatar GitHub <noreply@github.com> 2023-07-07 22:36:27 +0200
commitf8f163d054110f7e0ff6650fca146b474335f4bd (patch)
treedbd831e600bc76ca2830cd417bd52b712ff97309 /app/Controllers/errorController.php
parent7f9594b8c7d7799f2e5f89328bd5981410db8cf0 (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/errorController.php')
-rw-r--r--app/Controllers/errorController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/errorController.php b/app/Controllers/errorController.php
index c5b727c05..fe56b13eb 100644
--- a/app/Controllers/errorController.php
+++ b/app/Controllers/errorController.php
@@ -15,7 +15,7 @@ class FreshRSS_error_Controller extends FreshRSS_ActionController {
*/
public function indexAction(): void {
$code_int = Minz_Session::param('error_code', 404);
- $error_logs = Minz_Session::param('error_logs', array());
+ $error_logs = Minz_Session::param('error_logs', []);
Minz_Session::_params([
'error_code' => false,
'error_logs' => false,