diff options
| author | 2023-10-30 22:28:34 +0100 | |
|---|---|---|
| committer | 2023-10-30 22:28:34 +0100 | |
| commit | 5ca9101ce86ede176a555e037d13533556a09ab6 (patch) | |
| tree | 2d3b3ee0c8d1dfdac74929a9877c5ebfdac8d9d8 /app/Models/Feed.php | |
| parent | 9b3a867c35ac68a1e7f4c96cf4ace5728b6fb855 (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.php | 4 |
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) { |
