mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 19:13:49 +00:00
fix phpstan and rector errors, fix path for rector rules
This commit is contained in:
@@ -503,7 +503,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
|
||||
/**
|
||||
* The person's spoken languages.
|
||||
*
|
||||
* @var Collection<Language>
|
||||
* @var Collection<int, Language>
|
||||
*
|
||||
* @ORM\ManyToMany(targetEntity="Chill\MainBundle\Entity\Language")
|
||||
*
|
||||
@@ -1788,9 +1788,9 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
|
||||
}
|
||||
|
||||
/**
|
||||
* @param (\Doctrine\Common\Collections\Collection&\iterable<\Chill\MainBundle\Entity\Language>) $spokenLanguages
|
||||
* @param (\Doctrine\Common\Collections\Collection<int, Language>) $spokenLanguages
|
||||
*/
|
||||
public function setSpokenLanguages(mixed $spokenLanguages): self
|
||||
public function setSpokenLanguages(Collection $spokenLanguages): self
|
||||
{
|
||||
$this->spokenLanguages = $spokenLanguages;
|
||||
|
||||
|
Reference in New Issue
Block a user