From c2064e8ce238768e099b1343eca056fba8bcce70 Mon Sep 17 00:00:00 2001 From: Reza Date: Fri, 6 Nov 2015 09:11:36 +0330 Subject: [PATCH] - updating jsonSerialize --- src/Ary.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ary.php b/src/Ary.php index 66f4ab1..a52b1c4 100644 --- a/src/Ary.php +++ b/src/Ary.php @@ -146,7 +146,7 @@ class Ary implements ArrayAccess, Countable, IteratorAggregate, JsonSerializable */ public function jsonSerialize() { - return $this->jsonSerialize(); + return json_encode($this->items); } /**