Skip to content
Permalink
Browse files

change toArray to toList

  • Loading branch information...
Iandenh committed Jul 18, 2017
1 parent f1bfd8b commit 461eecdbcc8c58451f46b3ccec4bce43a84da1ef
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Collection/CollectionTrait.php
@@ -226,7 +226,7 @@ public function median($matcher = null)
if ($matcher != null) {
$elements = $elements->extract($matcher);
}
$values = $elements->toArray();
$values = $elements->toList();
sort($values);
if ($count % 2) {

0 comments on commit 461eecd

Please sign in to comment.
You can’t perform that action at this time.