From 6c01e4e7d6c177ac345c826059e585bffdd1d517 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 7 Apr 2023 00:13:49 +0200 Subject: Use typed access to request parameters (#5267) * Use typed access to request parameters This was a big source of mixed datatypes in many places * Fix notifications * Fix bookmarkAction --- app/Services/ExportService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Services/ExportService.php') diff --git a/app/Services/ExportService.php b/app/Services/ExportService.php index b09be1011..697e091e7 100644 --- a/app/Services/ExportService.php +++ b/app/Services/ExportService.php @@ -99,7 +99,7 @@ class FreshRSS_Export_Service { * @return array|null First item is the filename, second item is the content. * It also can return null if the feed doesn’t exist. */ - public function generateFeedEntries($feed_id, $max_number_entries) { + public function generateFeedEntries(int $feed_id, int $max_number_entries) { $feed = $this->feed_dao->searchById($feed_id); if (!$feed) { return null; -- cgit v1.2.3