From 531b9286d94f2f38e8725284bc2bd038f32d743e Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 14 Aug 2025 09:35:30 +0200 Subject: Fix regression on_http_response (#7824) Fix regression (bad merge) from https://github.com/FreshRSS/FreshRSS/pull/7775 * https://github.com/FreshRSS/simplepie/pull/50 --- app/Models/SimplePieResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/Models/SimplePieResponse.php b/app/Models/SimplePieResponse.php index 6a444a86a..322145d2b 100644 --- a/app/Models/SimplePieResponse.php +++ b/app/Models/SimplePieResponse.php @@ -4,7 +4,7 @@ declare(strict_types=1); final class FreshRSS_SimplePieResponse extends \SimplePie\File { #[\Override] - protected function on_http_response(string|false $response = ''): void { + protected function on_http_response($response = ''): void { syslog(LOG_INFO, 'FreshRSS SimplePie GET ' . $this->get_status_code() . ' ' . \SimplePie\Misc::url_remove_credentials($this->get_final_requested_uri())); if (in_array($this->get_status_code(), [429, 503], true)) { -- cgit v1.2.3