From 9f3cb1d8ce53ce2000f60633fad32d654552d973 Mon Sep 17 00:00:00 2001 From: Awilum Date: Thu, 16 Jul 2020 00:05:36 +0300 Subject: [PATCH] feat(element-queries): refactor #436 --- src/flextype/Support/Collection.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/flextype/Support/Collection.php b/src/flextype/Support/Collection.php index 524ad99b..ef445ace 100644 --- a/src/flextype/Support/Collection.php +++ b/src/flextype/Support/Collection.php @@ -517,6 +517,8 @@ class Collection shuffle($keys); + $new = []; + foreach ($keys as $key) { $new[$key] = $array[$key]; }