From 115724622fa32e1b7981e378e87ccfb770450cb1 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 23 Apr 2023 11:58:15 +0200 Subject: PHPStan Level 7 for ten more files (#5327) * PHPStan Level 7 for nine more files * Minor syntax * One more --- app/Models/Entry.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Models/Entry.php') diff --git a/app/Models/Entry.php b/app/Models/Entry.php index b5a742535..accd13c27 100644 --- a/app/Models/Entry.php +++ b/app/Models/Entry.php @@ -220,8 +220,8 @@ HTML; return $content; } - /** @return iterable}> */ - public function enclosures(bool $searchBodyImages = false): iterable { + /** @return Traversable}> */ + public function enclosures(bool $searchBodyImages = false): Traversable { $attributeEnclosures = $this->attributes('enclosures'); if (is_array($attributeEnclosures)) { // FreshRSS 1.20.1+: The enclosures are saved as attributes -- cgit v1.2.3