aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Feed.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-10-30 22:28:34 +0100
committerGravatar GitHub <noreply@github.com> 2023-10-30 22:28:34 +0100
commit5ca9101ce86ede176a555e037d13533556a09ab6 (patch)
tree2d3b3ee0c8d1dfdac74929a9877c5ebfdac8d9d8 /app/Models/Feed.php
parent9b3a867c35ac68a1e7f4c96cf4ace5728b6fb855 (diff)
Fix type regression filterActions (#5786)
Regression from https://github.com/FreshRSS/FreshRSS/pull/5720
Diffstat (limited to 'app/Models/Feed.php')
-rw-r--r--app/Models/Feed.php4
1 files changed, 2 insertions, 2 deletions
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<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) {