diff options
Diffstat (limited to 'app/Models/Entry.php')
| -rw-r--r-- | app/Models/Entry.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php index 20f17d1c7..b5a742535 100644 --- a/app/Models/Entry.php +++ b/app/Models/Entry.php @@ -221,7 +221,7 @@ HTML; } /** @return iterable<array{'url':string,'type'?:string,'medium'?:string,'length'?:int,'title'?:string,'description'?:string,'credit'?:string,'height'?:int,'width'?:int,'thumbnails'?:array<string>}> */ - public function enclosures(bool $searchBodyImages = false) { + public function enclosures(bool $searchBodyImages = false): iterable { $attributeEnclosures = $this->attributes('enclosures'); if (is_array($attributeEnclosures)) { // FreshRSS 1.20.1+: The enclosures are saved as attributes |
