- updating jsonSerialize

This commit is contained in:
Reza
2015-11-06 09:11:36 +03:30
parent e912a1c33c
commit c2064e8ce2

View File

@ -146,7 +146,7 @@ class Ary implements ArrayAccess, Countable, IteratorAggregate, JsonSerializable
*/ */
public function jsonSerialize() public function jsonSerialize()
{ {
return $this->jsonSerialize(); return json_encode($this->items);
} }
/** /**