Skip to content

Commit

Permalink
fix: Guzzle version 6 error in Http Client Discovery (#1409)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanduijker authored Oct 17, 2024
1 parent d2b1507 commit fd654b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SDK/Common/Http/Psr/Client/Discovery/Guzzle.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Guzzle implements DiscoveryInterface
{
public function available(): bool
{
return class_exists(Client::class);
return class_exists(Client::class) && is_a(Client::class, ClientInterface::class, true);
}

public function create(mixed $options): ClientInterface
Expand Down

0 comments on commit fd654b9

Please sign in to comment.