mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-02 22:17:45 +00:00
php cs style fixes, stan ok!
This commit is contained in:
parent
fb0135a0af
commit
cc2bee8188
@ -47,8 +47,8 @@ class RelationshipNoDuplicateValidator extends ConstraintValidator
|
||||
]);
|
||||
|
||||
foreach ($relationships as $r) {
|
||||
if ($r->getRelation()->getId() !== $relationType->getId() &&
|
||||
($r->getFromPerson() === $fromPerson
|
||||
if ($r->getRelation()->getId() !== $relationType->getId()
|
||||
&& ($r->getFromPerson() === $fromPerson
|
||||
|| $r->getFromPerson() === $toPerson
|
||||
|| $r->getToPerson() === $fromPerson
|
||||
|| $r->getToPerson() === $toPerson)
|
||||
|
Loading…
x
Reference in New Issue
Block a user