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

Add typehint to ApiResponse #713

Merged
merged 1 commit into from
Aug 27, 2019
Merged

Add typehint to ApiResponse #713

merged 1 commit into from
Aug 27, 2019

Conversation

baijunyao
Copy link
Contributor

@baijunyao baijunyao commented Aug 27, 2019

list($rbody, $rcode, $rheaders, $myApiKey) =
$this->_requestRaw($method, $url, $params, $headers);
$json = $this->_interpretResponse($rbody, $rcode, $rheaders);
$resp = new ApiResponse($rbody, $rcode, $rheaders, $json);

$rheaders = new Util\CaseInsensitiveArray();

Copy link
Contributor

@ob-stripe ob-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@ob-stripe ob-stripe merged commit d0d4de2 into stripe:master Aug 27, 2019
@ob-stripe
Copy link
Contributor

Released as 6.43.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants