File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ class MultiSearchFederation
21
21
*/
22
22
private ?array $ facetsByIndex = null ;
23
23
24
+ /**
25
+ * @var array{maxValuesPerFacet: positive-int}|null
26
+ */
24
27
private ?array $ mergeFacets = null ;
25
28
26
29
/**
@@ -60,6 +63,8 @@ public function setFacetsByIndex(array $facetsByIndex): self
60
63
}
61
64
62
65
/**
66
+ * @param array{maxValuesPerFacet: positive-int} $mergeFacets
67
+ *
63
68
* @return $this
64
69
*/
65
70
public function setMergeFacets (array $ mergeFacets ): self
@@ -74,7 +79,7 @@ public function setMergeFacets(array $mergeFacets): self
74
79
* limit?: non-negative-int,
75
80
* offset?: non-negative-int,
76
81
* facetsByIndex?: array<non-empty-string, list<non-empty-string>>,
77
- * mergeFacets?: array,
82
+ * mergeFacets?: array{maxValuesPerFacet: positive-int} ,
78
83
* }
79
84
*/
80
85
public function toArray (): array
You can’t perform that action at this time.
0 commit comments