From 62496339b6a43fcbb8267fb0f14ac2b165bf5826 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 17 Apr 2023 16:24:35 +0200 Subject: More consistent use of iterable type (#5308) For `yield` --- app/Models/Entry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/Entry.php') 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}> */ - 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 -- cgit v1.2.3