From 5ca9101ce86ede176a555e037d13533556a09ab6 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 30 Oct 2023 22:28:34 +0100 Subject: Fix type regression filterActions (#5786) Regression from https://github.com/FreshRSS/FreshRSS/pull/5720 --- app/Models/Feed.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Models/Feed.php') diff --git a/app/Models/Feed.php b/app/Models/Feed.php index 64aebccfa..405327ceb 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -61,8 +61,8 @@ class FreshRSS_Feed extends Minz_Model { private string $lockPath = ''; private string $hubUrl = ''; private string $selfUrl = ''; - /** @var array $filterActions */ - private array $filterActions = []; + /** @var array|null $filterActions */ + private ?array $filterActions = null; public function __construct(string $url, bool $validate = true) { if ($validate) { -- cgit v1.2.3