replace more doctrine shortcuts by fqdn

This commit is contained in:
2022-04-30 00:35:11 +02:00
parent a0392b9216
commit 864e1eeabb
19 changed files with 39 additions and 33 deletions

View File

@@ -192,7 +192,7 @@ final class PersonControllerUpdateTest extends WebTestCase
case 'nationality':
case 'countryOfBirth':
if (false === empty($value)) {
$country = $this->em->getRepository('ChillMainBundle:Country')
$country = $this->em->getRepository(\Chill\MainBundle\Entity\Country::class)
->findOneByCountryCode($value);
$transformedValue = $country->getId();
} else {