The expression parent::fetch($self, $entityManager)->one(); of type ORM\Entity|null adds the type ORM\Entity to the return on line 19 which is incompatible with the return type of the parent method ORM\Relation\OneToMany::fetch of type ORM\EntityFetcher.