Commit abef99d5 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Fix Php 8.4

parent e2e71508
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for src/UnicaenAutoform/Service/Champ/ChampService.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ class ChampService
    }

    /** @return Champ[] */
    public function getChampsByCategorie(Categorie $categorie, string $ordre = null): array
    public function getChampsByCategorie(Categorie $categorie, ?string $ordre = null): array
    {
        $qb = $this->createQueryBuilder()
            ->andWhere('champ.categorie = :categorie')