ソースを参照

change toArray to toList

Ian den Hartog 8 年 前
コミット
461eecdbcc
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/Collection/CollectionTrait.php

+ 1 - 1
src/Collection/CollectionTrait.php

@@ -226,7 +226,7 @@ trait CollectionTrait
         if ($matcher != null) {
             $elements = $elements->extract($matcher);
         }
-        $values = $elements->toArray();
+        $values = $elements->toList();
         sort($values);
 
         if ($count % 2) {