{"action":"created","issue":{"url":"https://api.github.com/repos/php-curl-class/php-curl-class/issues/340","repository_url":"https://api.github.com/repos/php-curl-class/php-curl-class","labels_url":"https://api.github.com/repos/php-curl-class/php-curl-class/issues/340/labels{/name}","comments_url":"https://api.github.com/repos/php-curl-class/php-curl-class/issues/340/comments","events_url":"https://api.github.com/repos/php-curl-class/php-curl-class/issues/340/events","html_url":"https://github.com/php-curl-class/php-curl-class/issues/340","id":161713771,"number":340,"title":"Documented return types don't match code","user":{"login":"56quarters","id":1127373,"avatar_url":"https://avatars.githubusercontent.com/u/1127373?v=3","gravatar_id":"","url":"https://api.github.com/users/56quarters","html_url":"https://github.com/56quarters","followers_url":"https://api.github.com/users/56quarters/followers","following_url":"https://api.github.com/users/56quarters/following{/other_user}","gists_url":"https://api.github.com/users/56quarters/gists{/gist_id}","starred_url":"https://api.github.com/users/56quarters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/56quarters/subscriptions","organizations_url":"https://api.github.com/users/56quarters/orgs","repos_url":"https://api.github.com/users/56quarters/repos","events_url":"https://api.github.com/users/56quarters/events{/privacy}","received_events_url":"https://api.github.com/users/56quarters/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/php-curl-class/php-curl-class/labels/Accepted","name":"Accepted","color":"207de5"},{"url":"https://api.github.com/repos/php-curl-class/php-curl-class/labels/Fixed","name":"Fixed","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-22T15:28:47Z","updated_at":"2016-07-05T16:45:27Z","closed_at":"2016-07-04T09:27:19Z","body":"The comments for `Curl::exec` and `Curl::get` indicate that they will always return `string`. However, when the response has a `Content-Type` header of `application/json`, it will be decoded by default into a `stdClass`.\r\n\r\nIt seems that the docs for these methods should indicate that the return type changes based on the `Content-Type` of the response."},"comment":{"url":"https://api.github.com/repos/php-curl-class/php-curl-class/issues/comments/230534317","html_url":"https://github.com/php-curl-class/php-curl-class/issues/340#issuecomment-230534317","issue_url":"https://api.github.com/repos/php-curl-class/php-curl-class/issues/340","id":230534317,"user":{"login":"56quarters","id":1127373,"avatar_url":"https://avatars.githubusercontent.com/u/1127373?v=3","gravatar_id":"","url":"https://api.github.com/users/56quarters","html_url":"https://github.com/56quarters","followers_url":"https://api.github.com/users/56quarters/followers","following_url":"https://api.github.com/users/56quarters/following{/other_user}","gists_url":"https://api.github.com/users/56quarters/gists{/gist_id}","starred_url":"https://api.github.com/users/56quarters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/56quarters/subscriptions","organizations_url":"https://api.github.com/users/56quarters/orgs","repos_url":"https://api.github.com/users/56quarters/repos","events_url":"https://api.github.com/users/56quarters/events{/privacy}","received_events_url":"https://api.github.com/users/56quarters/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T16:45:27Z","updated_at":"2016-07-05T16:45:27Z","body":"Thanks!"}}
{"actor":{"display_login":"56quarters"}}