Skip to content

Commit

Permalink
Change the settHttpClient argument type to ClientInterface (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjank8 authored Apr 9, 2024
1 parent 2fd86e6 commit 1e6d903
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ApiClient/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Bokbasen\ApiClient;

use Http\Client\HttpClient;
use Psr\Http\Client\ClientInterface;
use Psr\Http\Message\ResponseInterface;
use Bokbasen\Auth\Login;
use Psr\Http\Message\StreamInterface;
Expand Down Expand Up @@ -70,7 +70,7 @@ protected function getCaller(): Caller
return $this->caller;
}

public function setHttpClient(HttpClient $httpClient): void
public function setHttpClient(ClientInterface $httpClient): void
{
$this->getCaller()->setHttpClient($httpClient);
}
Expand Down

0 comments on commit 1e6d903

Please sign in to comment.