Skip to content

Commit

Permalink
Update SearchProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Hlavtox authored Nov 26, 2024
1 parent a9779ff commit 3884832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Product/SearchProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ public function __construct(
Filters\Converter $converter,
URLSerializer $serializer,
Filters\DataAccessor $dataAccessor,
?SearchFactory $searchFactory = null,
SearchFactory $searchFactory,
Filters\Provider $provider
) {
$this->module = $module;
$this->filtersConverter = $converter;
$this->urlSerializer = $serializer;
$this->dataAccessor = $dataAccessor;
$this->searchFactory = $searchFactory === null ? new SearchFactory() : $searchFactory;
$this->searchFactory = $searchFactory;
$this->provider = $provider;
}

Expand Down

0 comments on commit 3884832

Please sign in to comment.