Skip to content
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

Merged
merged 4 commits into from
Dec 12, 2018
Merged

Improve the ShippingBundle doc #9998

merged 4 commits into from
Dec 12, 2018

Conversation

Konafets
Copy link
Contributor

@Konafets 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

@Konafets Konafets requested a review from a team as a code owner December 4, 2018 15:36
@Konafets Konafets changed the title Improve the text Improve the ShippingBundle doc Dec 4, 2018
/**
* {@inheritdoc}
*/
public function setShippingWidth($width)
Copy link
Member

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?

@Zales0123 Zales0123 added the Documentation Documentation related issues and PRs - requests, fixes, proposals. label Dec 4, 2018
Copy link
Member

@Zales0123 Zales0123 left a 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! 💪

@Konafets
Copy link
Contributor Author

Konafets commented Dec 5, 2018

@Zales0123 Do you mean declare(strict_types=1);

Konafets and others added 4 commits December 12, 2018 11:22
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
@pamil pamil changed the base branch from 1.3 to 1.2 December 12, 2018 10:25
@pamil
Copy link
Contributor

pamil commented Dec 12, 2018

The base of this pull-request was changed, you need fetch and reset your local branch
if you want to add new commits to this pull request. Reset before you pull, else commits
may become messed-up.

Unless you added new commits (to this branch) locally that you did not push yet,
execute git fetch origin && git reset "patch-4" to update your local branch.

Feel free to ask for assistance when you get stuck 👍

@pamil pamil merged commit c59941b into Sylius:1.2 Dec 12, 2018
@pamil
Copy link
Contributor

pamil commented Dec 12, 2018

Thank you, Stefano! 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Documentation related issues and PRs - requests, fixes, proposals.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants