{"action":"closed","issue":{"url":"https://api.github.com/repos/webignition/url/issues/8","repository_url":"https://api.github.com/repos/webignition/url","labels_url":"https://api.github.com/repos/webignition/url/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/webignition/url/issues/8/comments","events_url":"https://api.github.com/repos/webignition/url/issues/8/events","html_url":"https://github.com/webignition/url/issues/8","id":45055710,"number":8,"title":"always return webignition\\Url\\Query\\Query from getQuery()","user":{"login":"ceejayoz","id":2825,"avatar_url":"https://avatars0.githubusercontent.com/u/2825?v=4","gravatar_id":"","url":"https://api.github.com/users/ceejayoz","html_url":"https://github.com/ceejayoz","followers_url":"https://api.github.com/users/ceejayoz/followers","following_url":"https://api.github.com/users/ceejayoz/following{/other_user}","gists_url":"https://api.github.com/users/ceejayoz/gists{/gist_id}","starred_url":"https://api.github.com/users/ceejayoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceejayoz/subscriptions","organizations_url":"https://api.github.com/users/ceejayoz/orgs","repos_url":"https://api.github.com/users/ceejayoz/repos","events_url":"https://api.github.com/users/ceejayoz/events{/privacy}","received_events_url":"https://api.github.com/users/ceejayoz/received_events","type":"User","site_admin":false},"labels":[{"id":3516035,"url":"https://api.github.com/repos/webignition/url/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2014-10-07T00:55:26Z","updated_at":"2018-03-09T15:39:07Z","closed_at":"2018-03-09T15:39:07Z","author_association":"NONE","body":"`getQuery()` should return a `webignition\\Url\\Query\\Query` at all times, even if there is no query string on the URL. This would greatly simplify adding query string parameters to a URL when that URL may or may not have one already.\n\nThis should work:\n\n```\n$url = new \\webignition\\Url\\Url('http://example.com/');\n$url->getQuery()->add('key', 'value');\n```\n"}}
{"actor":{"display_login":"webignition"}}