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

[Shop][Account] Marking an address as default #6584

Merged
merged 3 commits into from
Oct 28, 2016

Conversation

tuka217
Copy link
Contributor

@tuka217 tuka217 commented Oct 28, 2016

Q A
Bug fix? no
New feature? yes
BC breaks? no
Related tickets #6573
License MIT

Assert::same(
$fullName,
$actualFullName,
sprintf('The default address should be of "%s", but is of "%s".', $fullName, $actualFullName)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about 'The default address should be "%2$s", but it "%s".'?

private $addressRepository;

/**
* @param RepositoryInterface $addressRepository
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not typehint AddressRepositoryInterface?

@michalmarcinkowski
Copy link
Contributor

Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants