From 2118448133e327294ad2b69ed8736bc29879103d Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 5 Apr 2023 23:26:38 +0200 Subject: PHPStan level 6 for more files (#5264) 7 more files passing (see phpstan-next.txt) --- app/Controllers/authController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controllers/authController.php') diff --git a/app/Controllers/authController.php b/app/Controllers/authController.php index 30fd705f5..81043bcf7 100644 --- a/app/Controllers/authController.php +++ b/app/Controllers/authController.php @@ -162,7 +162,7 @@ class FreshRSS_auth_Controller extends FreshRSS_ActionController { // All is good, go back to the original request or the index. $url = Minz_Url::unserialize(Minz_Request::param('original_request')); - if ($url === null) { + if (empty($url)) { $url = [ 'c' => 'index', 'a' => 'index' ]; } Minz_Request::good(_t('feedback.auth.login.success'), $url); -- cgit v1.2.3