Skip to content

Commit

Permalink
Update src/Dto/SearchDto.php
Browse files Browse the repository at this point in the history
Co-authored-by: Max <[email protected]>
  • Loading branch information
tasiot and bytes-commerce authored Nov 6, 2023
1 parent 55b6417 commit ff05969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dto/SearchDto.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ final class SearchDto
private ?array $appliedFilters;
private string $searchMode;

public function __construct(Request $request, ?array $searchableProperties, ?string $query, array $defaultSort, array $customSort, ?array $appliedFilters, string $searchMode)
public function __construct(Request $request, ?array $searchableProperties, ?string $query, array $defaultSort, array $customSort, ?array $appliedFilters, string $searchMode = SearchMode::ANY_TERMS)

Check failure on line 24 in src/Dto/SearchDto.php

View workflow job for this annotation

GitHub Actions / phpstan

Access to constant ANY_TERMS on an unknown class EasyCorp\Bundle\EasyAdminBundle\Dto\SearchMode.
{
$this->request = $request;
$this->searchableProperties = $searchableProperties;
Expand Down

0 comments on commit ff05969

Please sign in to comment.