A free, self-hostable news aggregator…
Fix type regression filterActions (#5786)
Alexandre Alapetite5ca9101ce86e
diff --git a/app/Models/Feed.php b/app/Models/Feed.phpindex 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<FreshRSS_FilterAction> $filterActions */- private array $filterActions = [];+ /** @var array<FreshRSS_FilterAction>|null $filterActions */+ private ?array $filterActions = null;public function __construct(string $url, bool $validate = true) {if ($validate) {