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

Fixing the customer birthday #548

Merged
merged 2 commits into from
Sep 21, 2019
Merged

Fixing the customer birthday #548

merged 2 commits into from
Sep 21, 2019

Conversation

mamazu
Copy link
Member

@mamazu mamazu commented Sep 21, 2019

Fixes #544
Fixing the customer birthday

@mamazu mamazu requested a review from a team as a code owner September 21, 2019 10:11
@@ -55,7 +56,7 @@ public function email(): string
return $this->email;
}

public function birthday(): ?string
public function birthday(): ?\DateTimeImmutable
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
public function birthday(): ?\DateTimeImmutable
public function birthday(): ?DateTimeImmutable

as it is already imported

@lchrusciel lchrusciel merged commit 493ef8e into Sylius:master Sep 21, 2019
@lchrusciel
Copy link
Member

Thank you, @mamazu! 🥇

@mamazu mamazu deleted the register branch September 22, 2019 09:44
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.

Updating a customer without a birthday sets the birthday to the current dat
2 participants