Skip to content

Commit

Permalink
Merge pull request #11 from diwipl/master
Browse files Browse the repository at this point in the history
Fixing setOrder method declaration
  • Loading branch information
romainruaud authored Mar 5, 2019
2 parents 4d863ff + 6ab1e0d commit 021e8a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/ResourceModel/Page/Fulltext/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function getSize()
/**
* {@inheritDoc}
*/
public function setOrder($attribute, $dir = Select::SQL_DESC)
public function setOrder($attribute, $dir = \Magento\Framework\DB\Select::SQL_DESC)
{
throw new \LogicException("Sorting on multiple stores is not allowed in search engine collections.");
}
Expand Down

0 comments on commit 021e8a2

Please sign in to comment.