Skip to content

Conversation

marcrobertscamao
Copy link

The change tests to see if the getResponse() is an instance of RequestInterface ant then calls ->getBody()->__toString() accordingly, otherwise it implicitly type casts to string.

In the case that the result of getResponse() the result must be handled differently when passing to json_decode
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.

1 participant