diff --git a/README.md b/README.md index 7b4fcb6..009a5b4 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@
-![Fancy logo](./docs/images/light.png#gh-dark-mode-only) -![Fancy logo](./docs/images/dark.png#gh-light-mode-only) +![Fancy logo](./docs/images/dark.png#gh-dark-mode-only) +![Fancy logo](./docs/images/light.png#gh-light-mode-only)

Liquipedia PHP Client diff --git a/docs/images/dark.png b/docs/images/dark.png index c3c2ad2..4602d42 100644 Binary files a/docs/images/dark.png and b/docs/images/dark.png differ diff --git a/docs/images/light.png b/docs/images/light.png index 7817b69..e5d2be2 100644 Binary files a/docs/images/light.png and b/docs/images/light.png differ diff --git a/src/Query/QueryBuilder.php b/src/Query/QueryBuilder.php index d7eda9e..d63bd23 100644 --- a/src/Query/QueryBuilder.php +++ b/src/Query/QueryBuilder.php @@ -2,7 +2,7 @@ namespace Npldevfr\Liquipedia\Query; -use http\Client; +use GuzzleHttp\Client; use Npldevfr\Liquipedia\Interfaces\QueryBuilderInterface; abstract class QueryBuilder implements QueryBuilderInterface @@ -29,7 +29,7 @@ public function __construct( else $this->queryParameters = new QueryParameters(); - $this->client = $client ?? + $this->client = $client ?? new Client(); } public function build(): array