From f8f163d054110f7e0ff6650fca146b474335f4bd Mon Sep 17 00:00:00 2001 From: Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> Date: Fri, 7 Jul 2023 22:36:27 +0200 Subject: 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 Co-authored-by: Alexandre Alapetite --- app/Controllers/errorController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controllers/errorController.php') 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, -- cgit v1.2.3