Skip to content

Commit aee7086

Browse files
author
Pavel
committed
Issue-13556 Syntax fixes in method Magento\CatalogInventory\Model\Source\Stock::addValueSortToCollection
1 parent 24d1e79 commit aee7086

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/CatalogInventory/Model/Source

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogInventory/Model/Source/Stock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ public function addValueSortToCollection($collection, $dir = \Magento\Framework\
4343
[]
4444
);
4545
$collection->getSelect()->order("stock_item_table.qty $dir");
46-
return $this
46+
return $this;
4747
}
4848
}

0 commit comments

Comments
 (0)