Skip to content

Fix incomplete Release 2.8.0 with Argument must be type #136

Closed
BenjaminLeibinger wants to merge 19 commits intoLKDevelopment:masterfrom
BenjaminLeibinger:master
Closed

Fix incomplete Release 2.8.0 with Argument must be type #136
BenjaminLeibinger wants to merge 19 commits intoLKDevelopment:masterfrom
BenjaminLeibinger:master

Conversation

@BenjaminLeibinger
Copy link
Copy Markdown
Contributor

After the update to release 2.8.0 our application shows the Error:

LKDev\HetznerCloud\Models\Model::__construct(): Argument \#1 ($httpClient) must be of type ?GuzzleHttp\Client, LKDev\HetznerCloud\Clients\GuzzleClient given, called in /admin/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/HetznerAPIClient.php on line 231

#130 starts to fix the issue but only for the HetznerAPIClient.php and Model.php.

Many more classes has the GuzzleClient / Client as Argument.

This pull request should fix the issue.

@Floppy012
Copy link
Copy Markdown
Contributor

@LKaemmerling any chance, to get this merged/released in the near future? We have some internal processes where we rely on fixes made in 2.8.0 but since then the library is completely unusable.

@LKaemmerling
Copy link
Copy Markdown
Collaborator

Superseeded by #137 thank you for your help and bringing this up to my attention. I just released the fix as v2.8.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants