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 --- app/Models/FormAuth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/FormAuth.php') diff --git a/app/Models/FormAuth.php b/app/Models/FormAuth.php index 5bd6d97bc..54b468da9 100644 --- a/app/Models/FormAuth.php +++ b/app/Models/FormAuth.php @@ -32,7 +32,7 @@ class FreshRSS_FormAuth { } $credentials = @file_get_contents($token_file); - if ($credentials !== false && self::renewCookie($token)) { + if ($credentials !== false && self::renewCookie($token) != false) { return explode("\t", $credentials, 2); } return []; -- cgit v1.2.3