You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HttpResponse.php using json_decode($body, true); means that empty objects get translated to arrays, which breaks some of our stuff.
We've extended DocumentHandler in order to override the getDocument method, but I think a better solution might be to provide the ability to decide whether an item is decoded into associative arrays or objects, as this was not obvious default behaviour to us.
The text was updated successfully, but these errors were encountered:
HttpResponse.php using json_decode($body, true); means that empty objects get translated to arrays, which breaks some of our stuff.
We've extended
DocumentHandler
in order to override the getDocument method, but I think a better solution might be to provide the ability to decide whether an item is decoded into associative arrays or objects, as this was not obvious default behaviour to us.The text was updated successfully, but these errors were encountered: