Skip to content

Commit cd7dc56

Browse files
committed
revert type parameter on method prepareSortableFieldsByCategory
1 parent c303e4d commit cd7dc56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Block/Product/ListProduct.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ protected function _getConfig()
305305
* @param Category $category
306306
* @return $this
307307
*/
308-
public function prepareSortableFieldsByCategory(Category $category)
308+
public function prepareSortableFieldsByCategory($category)
309309
{
310310
if (!$this->getAvailableOrders()) {
311311
$this->setAvailableOrders($category->getAvailableSortByOptions());

0 commit comments

Comments
 (0)