php cs style fixes, stan ok!

This commit is contained in:
Julie Lenaerts 2022-07-18 14:56:44 +02:00
parent fb0135a0af
commit cc2bee8188

View File

@ -47,8 +47,8 @@ class RelationshipNoDuplicateValidator extends ConstraintValidator
]); ]);
foreach ($relationships as $r) { foreach ($relationships as $r) {
if ($r->getRelation()->getId() !== $relationType->getId() && if ($r->getRelation()->getId() !== $relationType->getId()
($r->getFromPerson() === $fromPerson && ($r->getFromPerson() === $fromPerson
|| $r->getFromPerson() === $toPerson || $r->getFromPerson() === $toPerson
|| $r->getToPerson() === $fromPerson || $r->getToPerson() === $fromPerson
|| $r->getToPerson() === $toPerson) || $r->getToPerson() === $toPerson)