From 6f272401b3eeaa9ba562f8caf784c1b57423bb01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Isaert?= Date: Mon, 2 Mar 2026 10:34:03 +0100 Subject: [PATCH] chore: remove PHP deprecation To remove this deprecation introduced in PHP `8.4`: ``` BenTools\FunnelHttpClient\FunnelHttpClient::stream(): Implicitly marking parameter $timeout as nullable is deprecated, the explicit nullable type must be used instead ``` --- src/FunnelHttpClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FunnelHttpClient.php b/src/FunnelHttpClient.php index c6bdf08..65a8564 100644 --- a/src/FunnelHttpClient.php +++ b/src/FunnelHttpClient.php @@ -68,7 +68,7 @@ public function request(string $method, string $url, array $options = []): Respo /** * @inheritDoc */ - public function stream($responses, float $timeout = null): ResponseStreamInterface + public function stream($responses, ?float $timeout = null): ResponseStreamInterface { return $this->decorated->stream($responses, $timeout); }