{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/7656","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/7656/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/7656/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/7656/events","html_url":"https://github.com/cakephp/cakephp/pull/7656","id":115676498,"number":7656,"title":"Making Collection::toArray() drop the keys when dealing with RecursiveIterator","user":{"login":"lorenzo","id":37621,"avatar_url":"https://avatars.githubusercontent.com/u/37621?v=3","gravatar_id":"","url":"https://api.github.com/users/lorenzo","html_url":"https://github.com/lorenzo","followers_url":"https://api.github.com/users/lorenzo/followers","following_url":"https://api.github.com/users/lorenzo/following{/other_user}","gists_url":"https://api.github.com/users/lorenzo/gists{/gist_id}","starred_url":"https://api.github.com/users/lorenzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorenzo/subscriptions","organizations_url":"https://api.github.com/users/lorenzo/orgs","repos_url":"https://api.github.com/users/lorenzo/repos","events_url":"https://api.github.com/users/lorenzo/events{/privacy}","received_events_url":"https://api.github.com/users/lorenzo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cakephp/cakephp/labels/Enhancement","name":"Enhancement","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/65","html_url":"https://github.com/cakephp/cakephp/milestones/3.1.5","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/65/labels","id":1396949,"number":65,"title":"3.1.5","description":"Bugfixes and optimizations for 3.1.x","creator":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":4,"state":"open","created_at":"2015-11-06T03:58:46Z","updated_at":"2015-11-07T16:38:58Z","due_on":"2015-11-28T05:00:00Z","closed_at":null},"comments":1,"created_at":"2015-11-07T16:38:58Z","updated_at":"2015-11-07T16:40:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cakephp/cakephp/pulls/7656","html_url":"https://github.com/cakephp/cakephp/pull/7656","diff_url":"https://github.com/cakephp/cakephp/pull/7656.diff","patch_url":"https://github.com/cakephp/cakephp/pull/7656.patch"},"body":"I could not think of a valid case where losing data when converting to array\r\nwas a desirable outcome. I fact this was a reason for a lot of hair-pulling\r\nsituations and made it really difficult to explain certain collection features\r\nto some people.\r\n\r\nThis new behavior makes more sense for the great majority of cases and reduces\r\nthe risk of creating new bugs."},"comment":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/comments/154722120","html_url":"https://github.com/cakephp/cakephp/pull/7656#issuecomment-154722120","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/7656","id":154722120,"user":{"login":"hmic","id":876917,"avatar_url":"https://avatars.githubusercontent.com/u/876917?v=3","gravatar_id":"","url":"https://api.github.com/users/hmic","html_url":"https://github.com/hmic","followers_url":"https://api.github.com/users/hmic/followers","following_url":"https://api.github.com/users/hmic/following{/other_user}","gists_url":"https://api.github.com/users/hmic/gists{/gist_id}","starred_url":"https://api.github.com/users/hmic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmic/subscriptions","organizations_url":"https://api.github.com/users/hmic/orgs","repos_url":"https://api.github.com/users/hmic/repos","events_url":"https://api.github.com/users/hmic/events{/privacy}","received_events_url":"https://api.github.com/users/hmic/received_events","type":"User","site_admin":false},"created_at":"2015-11-07T16:40:48Z","updated_at":"2015-11-07T16:40:48Z","body":":+1: "}}