-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Improve the ShippingBundle doc #9998
Conversation
Konafets
commented
Dec 4, 2018
Q | A |
---|---|
Branch? | 1.3 |
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
License | MIT |
- Implement the methods
- Add setters
- Fix the getter call
/** | ||
* {@inheritdoc} | ||
*/ | ||
public function setShippingWidth($width) |
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.
Shouldn't we add argument and return typehints as well?
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.
With strict and return types it would be good to merge, nice! 💪
@Zales0123 Do you mean |
The Customer entity does not have have the mentioned properties.
This PR was merged into the 1.2 branch. Discussion ---------- The Customer entity does not have have the mentioned properties. | Q | A | --------------- | ----- | Branch? | 1.3 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | License | MIT Commits ------- 34094b1 Remove billingAddress and shippingAddress
Implement the methods, add missing setters and fix the getter call.
* Add correct type hints `float` instead of `int` since the Interface expect `floats`. * Declare for strict types
The base of this pull-request was changed, you need fetch and reset your local branch Unless you added new commits (to this branch) locally that you did not push yet, Feel free to ask for assistance when you get stuck 👍 |
Thank you, Stefano! 🥇 |