Generisches Objekt vom Typ PHP
function getParticipant(): ?object
{
//...
$x = new Cat();
return $x;
}
Uninterested Unicorn
function getParticipant(): ?object
{
//...
$x = new Cat();
return $x;
}