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

More PHPDoc fixes #841

Merged
merged 1 commit into from
Jan 29, 2020
Merged

More PHPDoc fixes #841

merged 1 commit into from
Jan 29, 2020

Conversation

ob-stripe
Copy link
Contributor

r? @cjavilla-stripe @remi-stripe
cc @stripe/api-libraries

More PHPDoc fixes from #837.

Copy link
Contributor

@cjavilla-stripe cjavilla-stripe left a comment

Choose a reason for hiding this comment

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

LGTM!

@ob-stripe ob-stripe merged commit 5ca8c27 into master Jan 29, 2020
@ob-stripe ob-stripe deleted the ob-more-phpdoc-fixes branch January 29, 2020 22:33
@@ -23,23 +23,23 @@
* @property string|null $customer
* @property string|null $description
* @property string|null $invoice
* @property mixed|null $last_payment_error
* @property \Stripe\StripeObject|null $last_payment_error
Copy link
Contributor

Choose a reason for hiding this comment

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

@ob-stripe Shouldn't this be an \Stripe\ErrorObject type? That's how we always use it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ruudk It is. We're currently switching to a a new "codegen" tool that automatically generates PHPDoc type annotations based on the OpenAPI specification for Stripe's API. The tool didn't know about \Stripe\ErrorObject, but that will be fixed very soon (it's already been fixed internally, we just need to update the public repository). Thanks for the report!

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.

5 participants