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/ViewStats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/ViewStats.php') diff --git a/app/Models/ViewStats.php b/app/Models/ViewStats.php index 608633f6b..3810312db 100644 --- a/app/Models/ViewStats.php +++ b/app/Models/ViewStats.php @@ -5,7 +5,7 @@ final class FreshRSS_ViewStats extends FreshRSS_View { /** @var array */ public array $categories; - public FreshRSS_Feed $feed; + public ?FreshRSS_Feed $feed = null; /** @var array */ public array $feeds; public bool $displaySlider = false; -- cgit v1.2.3