-
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
Fixes Docblock class ClientTokenGateway and PayPalAccountGateway #315
base: master
Are you sure you want to change the base?
Fixes Docblock class ClientTokenGateway and PayPalAccountGateway #315
Conversation
🙃 thanks for the PR @BruceGitHub, no ETA but we will take a look and provide feedback or just merge. |
@@ -28,7 +28,7 @@ public function __construct($gateway) | |||
/** | |||
* Generate a client token for client-side authorization | |||
* | |||
* @param Optional $params containing request parameters | |||
* @param $params Optional, containing request parameters |
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.
* @param $params Optional, containing request parameters | |
* @param mixed $params Optional, containing request parameters |
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.
For me no problem, but why mixed ?
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.
I just ran into this one too. It should be array
. As it stands, phpstan is looking for a class called Braintree\Optional
.
hey folks, we'll take a look and provide feedback. for braintree folks, ticket 2046 |
* update dockerfile and composer file to versions of php and phpunit that will run in CI * setUp and teardown must be void compatible * fixup warning unit tests * address phpunit deprecation warnings * make integration tests setUp void compatible * fix breaking changes in integration tests * update tests to resolve deprecation warnings * Don't create phpunit cache file * add phpunit result cache to gitignore just in case * fixup SSL unit test * fixup failing integration tests
Please rewiew this |
Fixes format in Docblock classes: ClientTokenGateway and PayPalAccountGateway
Actual Docblock, cause an error for static analysis like Psalm, Phpstan because the class Optional does not exist actually