Run Rector on your code to see what it can do for you:
<?php use Doctrine\ORM\Mapping as ORM;
*/ private $trainings; - /** - * @return \Doctrine\Common\Collections\Collection<string, Training> - */ + /** + * @return \Doctrine\Common\Collections\Collection<int, \Training> + */ public function getTrainings() { return $this->trainings; } }
Applied Rules:
Not a change you expect?
rector.php