diff --git a/code_samples/search/elasticsearch/src/Query/Criterion/Elasticsearch/CameraManufacturerVisitor.php b/code_samples/search/elasticsearch/src/Query/Criterion/Elasticsearch/CameraManufacturerVisitor.php index 862bd94bf4..ea9070b40d 100644 --- a/code_samples/search/elasticsearch/src/Query/Criterion/Elasticsearch/CameraManufacturerVisitor.php +++ b/code_samples/search/elasticsearch/src/Query/Criterion/Elasticsearch/CameraManufacturerVisitor.php @@ -15,6 +15,9 @@ public function supports(CriterionInterface $criterion, LanguageFilter $language return $criterion instanceof CameraManufacturerCriterion; } + /** + * @param \App\Query\Criterion\Elasticsearch\CameraManufacturerCriterion $criterion + */ public function visit(CriterionVisitor $dispatcher, CriterionInterface $criterion, LanguageFilter $languageFilter): array { return [ diff --git a/code_samples/search/solr/src/Query/Criterion/Solr/CameraManufacturerVisitor.php b/code_samples/search/solr/src/Query/Criterion/Solr/CameraManufacturerVisitor.php index 7d7f4f81be..c45f1a16bf 100644 --- a/code_samples/search/solr/src/Query/Criterion/Solr/CameraManufacturerVisitor.php +++ b/code_samples/search/solr/src/Query/Criterion/Solr/CameraManufacturerVisitor.php @@ -14,6 +14,9 @@ public function canVisit(CriterionInterface $criterion) return $criterion instanceof CameraManufacturerCriterion; } + /** + * @param \App\Query\Criterion\Solr\CameraManufacturerCriterion $criterion + */ public function visit(CriterionInterface $criterion, CriterionVisitor $subVisitor = null) { $expressions = array_map(