Commit 5ca6a993 authored by Julien Fastré's avatar Julien Fastré

fix error when having two address at same date

parent f2948e31
......@@ -723,11 +723,11 @@ class Person implements HasCenterInterface {
public function isAddressesValid(ExecutionContextInterface $context)
if ($this->hasTwoAdressWithSameValidFromDate()) {
'Two addresses has the same validFrom date',
->buildViolation('Two addresses has the same validFrom date')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment