fixes from a first test

This commit is contained in:
2023-04-28 23:17:41 +02:00
parent 24c33b306b
commit 1c7d90a6ef
3 changed files with 4 additions and 9 deletions

View File

@@ -952,7 +952,7 @@ class AccompanyingPeriod implements
/**
* @Groups({"read"})
*/
public function getRequestor(): \Chill\PersonBundle\Entity\Person|\Chill\ThirdPartyBundle\Entity\ThirdParty
public function getRequestor(): Person|ThirdParty|null
{
return $this->requestorPerson ?? $this->requestorThirdParty;
}