-
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
Bugfix/serializable validation errors #312
base: master
Are you sure you want to change the base?
Bugfix/serializable validation errors #312
Conversation
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.
Seems reasonable to me. Just left a few minor styling suggestions.
Though this warning in the console seems like it should be addressed:
|
Co-authored-by: Blade Barringer <[email protected]>
Co-authored-by: Blade Barringer <[email protected]>
Fixed the code style issues, not sure how I got those in TBH , I'd run the linter. How did you get the console error? Running the unit tests and the tests doesn't throw these up? I've fixed it inline with the other JsonSerializeable methods in the existing codebase. |
return array( | ||
'code' => $this->__get('code'), | ||
'attribute' => $this->__get('attribute'), | ||
'message' => $this->__get('message') | ||
); |
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.
return array( | |
'code' => $this->__get('code'), | |
'attribute' => $this->__get('attribute'), | |
'message' => $this->__get('message') | |
); | |
return [ | |
'code' => $this->__get('code'), | |
'attribute' => $this->__get('attribute'), | |
'message' => $this->__get('message'), | |
]; |
hey folks, thanks for the PR! We'll take a look and provide feedback/merge. For braintree folks, ticket 2047 |
Summary
Checklist