TappNetwork/laravel-airtable

Types don't match

Opened this issue · 0 comments

$this->client = $client ?? $this->buildClient($access_token);

In the construct the parameter $client is asking for Http object, but $this->client by default will receive a PendingRequest.

If it's provided with a new Http client will explode.

Has an example in the function get() of the same class,
return $this->decodeResponse($this->client->get($url));

Http object isn't accessible this way.