From cd8dec08104651f54fdecb1eb5976cb22284b23a Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 2 May 2022 22:00:25 +0300 Subject: [PATCH] feat(helpers): fix `collectionWithRange` --- src/flextype/helpers/collection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flextype/helpers/collection.php b/src/flextype/helpers/collection.php index 778daed8..a3fa4853 100644 --- a/src/flextype/helpers/collection.php +++ b/src/flextype/helpers/collection.php @@ -63,7 +63,7 @@ if (! function_exists('collectionWithRange')) { * * @return Collection */ - function collectionWithRange($low, $high, int $step = 1): Arrays + function collectionWithRange($low, $high, int $step = 1): Collection { return Collection::createWithRange($low, $high, $step); }