{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/url/issues/58","labels_url":"https://api.github.com/repos/thephpleague/url/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/url/issues/58/comments","events_url":"https://api.github.com/repos/thephpleague/url/issues/58/events","html_url":"https://github.com/thephpleague/url/issues/58","id":62594115,"number":58,"title":"Multiple/no value params give weird results","user":{"login":"Petah","id":134799,"avatar_url":"https://avatars.githubusercontent.com/u/134799?v=3","gravatar_id":"","url":"https://api.github.com/users/Petah","html_url":"https://github.com/Petah","followers_url":"https://api.github.com/users/Petah/followers","following_url":"https://api.github.com/users/Petah/following{/other_user}","gists_url":"https://api.github.com/users/Petah/gists{/gist_id}","starred_url":"https://api.github.com/users/Petah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Petah/subscriptions","organizations_url":"https://api.github.com/users/Petah/orgs","repos_url":"https://api.github.com/users/Petah/repos","events_url":"https://api.github.com/users/Petah/events{/privacy}","received_events_url":"https://api.github.com/users/Petah/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-18T05:31:21Z","updated_at":"2015-03-20T21:30:22Z","closed_at":"2015-03-20T08:42:58Z","body":"Given this URL:\r\n\r\nhttp://localhost?foo=1&foo=2&bar\r\n\r\nThe query is:\r\n```php\r\n protected 'query' => \r\n    object(League\\Url\\Components\\Query)[24]\r\n      protected 'data' => \r\n        array (size=2)\r\n          'bar&foo' => string '1' (length=1)\r\n          'foo' => string '2' (length=1)\r\n```"},"comment":{"url":"https://api.github.com/repos/thephpleague/url/issues/comments/84153647","html_url":"https://github.com/thephpleague/url/issues/58#issuecomment-84153647","issue_url":"https://api.github.com/repos/thephpleague/url/issues/58","id":84153647,"user":{"login":"Petah","id":134799,"avatar_url":"https://avatars.githubusercontent.com/u/134799?v=3","gravatar_id":"","url":"https://api.github.com/users/Petah","html_url":"https://github.com/Petah","followers_url":"https://api.github.com/users/Petah/followers","following_url":"https://api.github.com/users/Petah/following{/other_user}","gists_url":"https://api.github.com/users/Petah/gists{/gist_id}","starred_url":"https://api.github.com/users/Petah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Petah/subscriptions","organizations_url":"https://api.github.com/users/Petah/orgs","repos_url":"https://api.github.com/users/Petah/repos","events_url":"https://api.github.com/users/Petah/events{/privacy}","received_events_url":"https://api.github.com/users/Petah/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T21:30:22Z","updated_at":"2015-03-20T21:30:22Z","body":"It seems this is what is causing it:\r\n\r\nhttps://github.com/thephpleague/url/blob/1c1fb645b5a7de3d7e7bef07e203ec37f6b34847/src/Components/Query.php#L118-L120\r\n\r\nNot sure why you are even doing that."}}