From dfac9f5813df7d4c7c812c381364c8898333f559 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 11 Sep 2024 17:14:53 +0200 Subject: PHPStan booleansInConditions (#6793) * PHPStan booleansInConditions * Uniformisation --- cli/update-user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/update-user.php') diff --git a/cli/update-user.php b/cli/update-user.php index ff0177997..553025d2b 100755 --- a/cli/update-user.php +++ b/cli/update-user.php @@ -80,7 +80,7 @@ if (!$ok) { if (isset($cliOptions->apiPassword)) { $error = FreshRSS_api_Controller::updatePassword($cliOptions->apiPassword); - if ($error) { + if ($error !== false) { fail($error); } } -- cgit v1.2.3