mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 02:53:50 +00:00
DX: fix phpstan issues
This commit is contained in:
@@ -160,11 +160,11 @@ class Event implements HasCenterInterface, HasScopeInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* @return ArrayIterator|Collection|Traversable
|
||||
* @return Collection<Participation>
|
||||
*/
|
||||
public function getParticipations()
|
||||
{
|
||||
return $this->getParticipationsOrdered();
|
||||
return new ArrayCollection(iterator_to_array($this->getParticipationsOrdered()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user