diff options
| author | 2023-04-17 16:24:35 +0200 | |
|---|---|---|
| committer | 2023-04-17 16:24:35 +0200 | |
| commit | 62496339b6a43fcbb8267fb0f14ac2b165bf5826 (patch) | |
| tree | a7ed5fe51af404af6939814e401c002252589f5c /app/Models/FeedDAO.php | |
| parent | 5185bcef13862ee86298cd38b83da145d03055b5 (diff) | |
More consistent use of iterable type (#5308)
For `yield`
Diffstat (limited to 'app/Models/FeedDAO.php')
| -rw-r--r-- | app/Models/FeedDAO.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/FeedDAO.php b/app/Models/FeedDAO.php index 837fef7f1..f4a75a73a 100644 --- a/app/Models/FeedDAO.php +++ b/app/Models/FeedDAO.php @@ -286,8 +286,8 @@ class FreshRSS_FeedDAO extends Minz_ModelPdo { } } - /** @return iterator<array<string,string|int>> */ - public function selectAll() { + /** @return iterable<array<string,string|int>> */ + public function selectAll(): iterable { $sql = <<<'SQL' SELECT id, url, kind, category, name, website, description, `lastUpdate`, priority, `pathEntries`, `httpAuth`, error, ttl, attributes |
