php cs fixes after updating php cs fixer

This commit is contained in:
2024-01-10 10:31:25 +01:00
parent 60ede58af0
commit 3c8e59e088
682 changed files with 2097 additions and 882 deletions

View File

@@ -43,7 +43,7 @@ class GeographicalUnitByAddressApiControllerTest extends WebTestCase
$em = self::$container->get(EntityManagerInterface::class);
$nb = $em->createQuery('SELECT COUNT(a) FROM '.Address::class.' a')->getSingleScalarResult();
/** @var \Chill\MainBundle\Entity\Address $random */
/** @var Address $random */
$random = $em->createQuery('SELECT a FROM '.Address::class.' a')
->setFirstResult(random_int(0, $nb))
->setMaxResults(1)