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/Controllers/indexController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controllers/indexController.php') diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php index 64371c530..895161a90 100644 --- a/app/Controllers/indexController.php +++ b/app/Controllers/indexController.php @@ -246,7 +246,7 @@ class FreshRSS_index_Controller extends FreshRSS_ActionController { * This method returns a list of entries based on the Context object. * @return iterable */ - public static function listEntriesByContext() { + public static function listEntriesByContext(): iterable { $entryDAO = FreshRSS_Factory::createEntryDao(); $get = FreshRSS_Context::currentGet(true); -- cgit v1.2.3