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/Feed.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Models/Feed.php') diff --git a/app/Models/Feed.php b/app/Models/Feed.php index a877786b4..c0fce6e4a 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -480,8 +480,8 @@ class FreshRSS_Feed extends Minz_Model { return $hasUniqueGuids ? $guids : $links; } - /** @return iterable */ - public function loadEntries(SimplePie $simplePie): iterable { + /** @return Traversable */ + public function loadEntries(SimplePie $simplePie): Traversable { $hasBadGuids = $this->attributes('hasBadGuids'); $items = $simplePie->get_items(); -- cgit v1.2.3