Skip to content

Commit efcf16f

Browse files
authored
Update OAuthHttpClient.php
Fix PHP 8.4 deprecation: Implicitly marking parameter as nullable is deprecated, the explicit nullable type must be used instead
1 parent 16f15a2 commit efcf16f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OAuthHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function request(string $method, string $url, array $options = []): Respo
8484
throw new RuntimeException();
8585
}
8686

87-
public function stream($responses, float $timeout = null): ResponseStreamInterface
87+
public function stream($responses, ?float $timeout = null): ResponseStreamInterface
8888
{
8989
return $this->client->stream($responses, $timeout);
9090
}

0 commit comments

Comments
 (0)