Bugfix/serializable validation errors#312
Conversation
crookedneighbor
left a comment
There was a problem hiding this comment.
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 <blade@crookedneighbor.com>
Co-authored-by: Blade Barringer <blade@crookedneighbor.com>
|
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.
| 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