From 9ae585d2b79d37754a6b5ebc4de2d50a978c8693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 1 Mar 2026 23:18:27 +0100 Subject: [PATCH] Fixed static analysis issues --- src/Helpers/RandomizeUseragentHttpClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Helpers/RandomizeUseragentHttpClient.php b/src/Helpers/RandomizeUseragentHttpClient.php index 2fefb546..bca91c79 100644 --- a/src/Helpers/RandomizeUseragentHttpClient.php +++ b/src/Helpers/RandomizeUseragentHttpClient.php @@ -31,7 +31,7 @@ use Symfony\Contracts\HttpClient\ResponseStreamInterface; * HttpClient wrapper that randomizes the user agent for each request, to make it harder for servers to detect and block us. * When we get a 503, 403 or 429, we assume that the server is blocking us and try again with a different user agent, until we run out of retries. */ -class RandomizeUseragentHttpClient implements HttpClientInterface +final class RandomizeUseragentHttpClient implements HttpClientInterface { public const USER_AGENTS = [ "Mozilla/5.0 (Windows; U; Windows NT 10.0; Win64; x64) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/52.0.1359.302 Safari/600.6 Edge/15.25690",