Skip to content

Commit

Permalink
Don't force data to be an object
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMousa committed Oct 2, 2018
1 parent fe5454e commit d51e1cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Map.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function offsetUnset($offset)

public function __toString()
{
return Json::encode($this->data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_FORCE_OBJECT);
return Json::encode($this->data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
}

public function jsonSerialize()
Expand Down

0 comments on commit d51e1cd

Please sign in to comment.