-
Notifications
You must be signed in to change notification settings - Fork 226
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 namespace in docblock #313
base: master
Are you sure you want to change the base?
Conversation
The Error class wasn't namespaced properly everywhere. The few classes in this MR were referencing a non-existing class (`Braintree\Error`). This MR aims to fix the namespace so static analysis tools do not fail while looking for the non-existing class.
@@ -1,5 +1,8 @@ | |||
# Changelog | |||
|
|||
## 6.7.1 | |||
* Fix wrong namespacing for the `Braintree\Result\ERror` class on docblocks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Fix wrong namespacing for the `Braintree\Result\ERror` class on docblocks | |
* Fix wrong namespacing for the `Braintree\Result\Error` class on docblocks |
Hi @braintreeps Can you give this PR a review whenever possible? Thank you :) |
@@ -21,7 +21,7 @@ class PaymentMethodNonce extends Base | |||
* | |||
* @see PaymentMethodNonceGateway::create() | |||
* | |||
* @return PaymentMethodNonce|Error | |||
* @return PaymentMethodNonce|Result\Error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make interface for those multiple different classes that are returned.
Hey folks, we'll take a look and provide feedback. For braintree folks, ticket 2046 |
Summary
The Error class wasn't namespaced properly everywhere. The few
classes in this MR were referencing a non-existing class
(
Braintree\Error
).This MR aims to fix the namespace so static analysis tools do not
fail while looking for the non-existing class.
Issue #314
Checklist