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