mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
activity: avoid existing entities being added in Users, ThirdParties, Persons
This commit is contained in:
@@ -32,7 +32,7 @@ class LocationValidityValidator extends ConstraintValidator
|
||||
}
|
||||
|
||||
if (!$period instanceof AccompanyingPeriod) {
|
||||
throw new UnexpectedValueException($value, AccompanyingPeriod::class);
|
||||
throw new UnexpectedValueException($period, AccompanyingPeriod::class);
|
||||
}
|
||||
|
||||
if ($period->getLocationStatus() === 'person') {
|
||||
|
Reference in New Issue
Block a user