Skip to content

Commit 179625b

Browse files
authored
Change signature of request and make body explicit nullable (#17)
1 parent c1631c8 commit 179625b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct(Endpoint $endpoint, ?HttpClientInterface $httpClient
3030
/**
3131
* @return mixed|string
3232
*/
33-
public function request(string $method, string $uri = '', array $body = null, bool $raw = false)
33+
public function request(string $method, string $uri = '', ?array $body = null, bool $raw = false)
3434
{
3535
$request = new Request(
3636
$method,

0 commit comments

Comments
 (0)