From 06d00995049db9c7b915f67cfd4a5708aace458f Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 30 Oct 2023 20:47:27 +0100 Subject: Require PHP 7.4+ (#5720) * Require PHP 7.4+ https://github.com/FreshRSS/FreshRSS/discussions/5474 * Update Docker oldest Alpine 3.13 with PHP 7.4.26 * Add missing packets to Docker oldest * Update to typed properties https://php.net/migration74.new-features#migration74.new-features.core.typed-properties * More types --- app/Models/Auth.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/Models/Auth.php') diff --git a/app/Models/Auth.php b/app/Models/Auth.php index f3c8b52f9..205b428a2 100644 --- a/app/Models/Auth.php +++ b/app/Models/Auth.php @@ -9,8 +9,7 @@ class FreshRSS_Auth { */ public const DEFAULT_COOKIE_DURATION = 7776000; - /** @var bool */ - private static $login_ok = false; + private static bool $login_ok = false; /** * This method initializes authentication system. -- cgit v1.2.3