From 7a2a42f3eee315f358a907da3aae5f66cf03f295 Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 15 Jul 2020 23:44:36 +0300 Subject: [PATCH] feat(element-queries): update limit() method #436 --- src/flextype/Support/Collection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flextype/Support/Collection.php b/src/flextype/Support/Collection.php index 55d0ae00..b44c6c8d 100644 --- a/src/flextype/Support/Collection.php +++ b/src/flextype/Support/Collection.php @@ -262,7 +262,7 @@ class Collection { $this->criteria->setMaxResults($limit); - return $this; + return $this->all(); } /**