diff options
| author | 2024-01-18 10:12:53 +0100 | |
|---|---|---|
| committer | 2024-01-18 10:12:53 +0100 | |
| commit | 4a0e8a70580c96ec2aeed2cf44bd79bc302676f8 (patch) | |
| tree | 072169ec11d33f93fc9eecc11287cdf678596557 /app/Models/EntryDAO.php | |
| parent | 9b1f9713337bd9c1d1264688b7ac98be69d53c67 (diff) | |
Native array return type forgotten (#6046)
Native type forgotten from
https://github.com/FreshRSS/FreshRSS/pull/5269
https://github.com/FreshRSS/FreshRSS/pull/5213
Diffstat (limited to 'app/Models/EntryDAO.php')
| -rw-r--r-- | app/Models/EntryDAO.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php index abcc33a1a..2f0e2b919 100644 --- a/app/Models/EntryDAO.php +++ b/app/Models/EntryDAO.php @@ -1011,7 +1011,7 @@ SQL; */ protected function sqlListEntriesWhere(string $alias = '', ?FreshRSS_BooleanSearch $filters = null, int $state = FreshRSS_Entry::STATE_ALL, - string $order = 'DESC', string $firstId = '', int $date_min = 0) { + string $order = 'DESC', string $firstId = '', int $date_min = 0): array { $search = ' '; $values = []; if ($state & FreshRSS_Entry::STATE_NOT_READ) { @@ -1064,7 +1064,7 @@ SQL; */ private function sqlListWhere(string $type = 'a', int $id = 0, int $state = FreshRSS_Entry::STATE_ALL, string $order = 'DESC', int $limit = 1, string $firstId = '', ?FreshRSS_BooleanSearch $filters = null, - int $date_min = 0) { + int $date_min = 0): array { if (!$state) { $state = FreshRSS_Entry::STATE_ALL; } |
