aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/indexController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-04-17 16:24:35 +0200
committerGravatar GitHub <noreply@github.com> 2023-04-17 16:24:35 +0200
commit62496339b6a43fcbb8267fb0f14ac2b165bf5826 (patch)
treea7ed5fe51af404af6939814e401c002252589f5c /app/Controllers/indexController.php
parent5185bcef13862ee86298cd38b83da145d03055b5 (diff)
More consistent use of iterable type (#5308)
For `yield`
Diffstat (limited to 'app/Controllers/indexController.php')
-rw-r--r--app/Controllers/indexController.php2
1 files changed, 1 insertions, 1 deletions
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<FreshRSS_Entry>
*/
- public static function listEntriesByContext() {
+ public static function listEntriesByContext(): iterable {
$entryDAO = FreshRSS_Factory::createEntryDao();
$get = FreshRSS_Context::currentGet(true);