Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix | V2 - Changed the Response class return type to its interface counterpart #138

Merged
merged 1 commit into from
Jan 11, 2023
Merged

Fix | V2 - Changed the Response class return type to its interface counterpart #138

merged 1 commit into from
Jan 11, 2023

Conversation

juse-less
Copy link
Contributor

I noticed (well.. PhpStorm did..) that the return type was referring to the class which was imported, rather than the interface, which is aliased.

So I changed the return type to use the interface.

@Sammyjo20
Copy link
Member

Great spot!

@juse-less
Copy link
Contributor Author

juse-less commented Jan 11, 2023

Hmm. I'm not sure what the code style complaint is about - some token input it requires.
I'm not sure if it needs a token to pull the image, or some kind of service?

I also saw that the CI is mentioning the usage of Node v12 ->
https://github.com/Sammyjo20/Saloon/actions/runs/3896795880

@Sammyjo20 Sammyjo20 merged commit a862c51 into saloonphp:v2 Jan 11, 2023
@juse-less juse-less deleted the bugfix/class-return-type branch January 22, 2023 23:50
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.

2 participants