mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-02 14:07:43 +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) {
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user