Forráskód Böngészése

Suppression d'un deprecated dans le Dto Filter

Sangfroid 5 napja
szülő
commit
ec8fc4c63b
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/Dto/FiltersDTO.php

+ 1 - 1
src/Dto/FiltersDTO.php

@@ -20,7 +20,7 @@ class FiltersDTO
         #[Assert\NotBlank()]
         public string $sortBy = 'dateSubmited',
 
-        #[Assert\Choice(['ASC', 'DESC'])]
+        #[Assert\Choice(choices: ['ASC', 'DESC'])]
         public string $sortOrder = 'DESC',
 
         public ?User $userWantToView = null,