Skip to content

Commit

Permalink
Fixed sorter
Browse files Browse the repository at this point in the history
  • Loading branch information
denisyukphp committed Feb 10, 2021
1 parent 058839f commit a84e3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Collection/Sorter.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Sorter
*
* @return Collection
*/
public function sort(CollectionInterface $collection, ComparatorInterface $comparator): Collection
public function sort(CollectionInterface $collection, ComparatorInterface $comparator): CollectionInterface
{
$nodes = $collection->toArray();

Expand Down

0 comments on commit a84e3fd

Please sign in to comment.