Commit a443d113ead2fe1c4ed59bac03846bf08cb2dcf5
1 parent
82b54963
big commti
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
frontend/models/ProductFrontendSearch.php
@@ -116,11 +116,10 @@ class ProductFrontendSearch extends Product { | @@ -116,11 +116,10 @@ class ProductFrontendSearch extends Product { | ||
116 | 116 | ||
117 | /** | 117 | /** |
118 | * @param Category|null $category | 118 | * @param Category|null $category |
119 | - * @param array $params | ||
120 | * @return array | 119 | * @return array |
121 | */ | 120 | */ |
122 | 121 | ||
123 | - public function priceLimits($category = null, $params = []) { | 122 | + public function priceLimits($category = null) { |
124 | if (!empty($category)) { | 123 | if (!empty($category)) { |
125 | /** @var ActiveQuery $query */ | 124 | /** @var ActiveQuery $query */ |
126 | $query = $category->getProducts(); | 125 | $query = $category->getProducts(); |