Skip to content

Commit

Permalink
Disallow header as null on post
Browse files Browse the repository at this point in the history
  • Loading branch information
Harald Tollefsen committed Oct 19, 2018
1 parent 56dc2fc commit e86048e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ApiClient/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ protected function call(string $method, string $path, array $headers = [], $body
*
* @throws BokbasenApiClientException
*/
public function post(string $path, $body, ?array $headers = [], bool $authenticate = true): ResponseInterface
public function post(string $path, $body, array $headers = [], bool $authenticate = true): ResponseInterface
{
return $this->call(
HttpRequestOptions::HTTP_METHOD_POST,
Expand Down

0 comments on commit e86048e

Please sign in to comment.