diff options
| author | 2023-03-22 08:26:39 +0100 | |
|---|---|---|
| committer | 2023-03-22 08:26:39 +0100 | |
| commit | 1a0616562db5c096dc7ca187f0210b3d57bffebf (patch) | |
| tree | 4f721c9f06bb601b5ccbf95307f37ba2de0480d7 /p/api | |
| parent | 247215ffaa2966919115f283fb67a0096df8dc1c (diff) | |
Remove FreshRSS_Searchable for better types (#5212)
* Remove FreshRSS_Searchable for better types
The interface was not used, and it was preventing more precise types for the different `searchById()` methods, as they each have different input and output types.
* Fix type
Diffstat (limited to 'p/api')
| -rw-r--r-- | p/api/fever.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/fever.php b/p/api/fever.php index c83b28da3..1bc7068ab 100644 --- a/p/api/fever.php +++ b/p/api/fever.php @@ -474,7 +474,7 @@ final class FeverAPI $group_ids = explode(',', $_REQUEST['group_ids']); $feeds = []; foreach ($group_ids as $id) { - $category = $categoryDAO->searchById($id); //TODO: Transform to SQL query without loop! Consider FreshRSS_CategoryDAO::listCategories(true) + $category = $categoryDAO->searchById((int)$id); //TODO: Transform to SQL query without loop! Consider FreshRSS_CategoryDAO::listCategories(true) if ($category == null) { continue; } |
