From 2038d50110468d95ff978ba2e8f997175f25ff3b Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 15 May 2023 19:26:48 +0200 Subject: PHPStan Level 7 for Minz_Request, FreshRSS_Feed, Minz_Error (#5400) * PHPStan Level 7 for Minz_Request * PHPStan Level 7 for FreshRSS_Feed * PHPStan Level 7 for Minz_Error --- lib/Minz/FrontController.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib/Minz/FrontController.php') diff --git a/lib/Minz/FrontController.php b/lib/Minz/FrontController.php index 3268b5763..8e3008a7d 100644 --- a/lib/Minz/FrontController.php +++ b/lib/Minz/FrontController.php @@ -69,11 +69,7 @@ class Minz_FrontController { $e instanceof Minz_ControllerNotExistException || $e instanceof Minz_ControllerNotActionControllerException || $e instanceof Minz_ActionException) { - Minz_Error::error ( - 404, - array('error' => array ($e->getMessage ())), - true - ); + Minz_Error::error(404, ['error' => [$e->getMessage()]], true); } else { self::killApp($e->getMessage()); } -- cgit v1.2.3