From 0bb03325896a2dee4fd2f86bc32ac8a32d6f76e1 Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 15 Jul 2020 15:01:34 +0300 Subject: [PATCH] feat(element-queries): Collections API fix helpers #436 --- src/flextype/Support/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flextype/Support/helpers.php b/src/flextype/Support/helpers.php index 38f10b1f..e7e8f935 100644 --- a/src/flextype/Support/helpers.php +++ b/src/flextype/Support/helpers.php @@ -15,7 +15,7 @@ if (! function_exists('collect')) { * * @param array $value Items to collect */ - function collect($array) : \Flextype\Collection + function collect($array) : \Flextype\Support\Collection { return new Collection($array); }