{"action":"closed","number":23,"pull_request":{"url":"https://api.github.com/repos/confirm/PhpZabbixApi/pulls/23","id":59810109,"html_url":"https://github.com/confirm/PhpZabbixApi/pull/23","diff_url":"https://github.com/confirm/PhpZabbixApi/pull/23.diff","patch_url":"https://github.com/confirm/PhpZabbixApi/pull/23.patch","issue_url":"https://api.github.com/repos/confirm/PhpZabbixApi/issues/23","number":23,"state":"closed","locked":false,"title":"Fix convertToAssociatveArray() to work correct with integer object properties","user":{"login":"webcompas","id":1265601,"avatar_url":"https://avatars.githubusercontent.com/u/1265601?v=3","gravatar_id":"","url":"https://api.github.com/users/webcompas","html_url":"https://github.com/webcompas","followers_url":"https://api.github.com/users/webcompas/followers","following_url":"https://api.github.com/users/webcompas/following{/other_user}","gists_url":"https://api.github.com/users/webcompas/gists{/gist_id}","starred_url":"https://api.github.com/users/webcompas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webcompas/subscriptions","organizations_url":"https://api.github.com/users/webcompas/orgs","repos_url":"https://api.github.com/users/webcompas/repos","events_url":"https://api.github.com/users/webcompas/events{/privacy}","received_events_url":"https://api.github.com/users/webcompas/received_events","type":"User","site_admin":false},"body":"If using an object property with an integer value (e.g. serviceid) there the resulting array contains only one object. This happens because the object property's value can be the same as the array's index values.","created_at":"2016-02-18T14:57:33Z","updated_at":"2016-05-04T18:14:31Z","closed_at":"2016-05-04T18:14:31Z","merged_at":"2016-05-04T18:14:31Z","merge_commit_sha":"5df75b99c7182b77534c3f228436ff44e276517d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/confirm/PhpZabbixApi/pulls/23/commits","review_comments_url":"https://api.github.com/repos/confirm/PhpZabbixApi/pulls/23/comments","review_comment_url":"https://api.github.com/repos/confirm/PhpZabbixApi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/confirm/PhpZabbixApi/issues/23/comments","statuses_url":"https://api.github.com/repos/confirm/PhpZabbixApi/statuses/d581220103e0212ed06b92b7b3c3e6838485e235","head":{"label":"webcompas:master","ref":"master","sha":"d581220103e0212ed06b92b7b3c3e6838485e235","user":{"login":"webcompas","id":1265601,"avatar_url":"https://avatars.githubusercontent.com/u/1265601?v=3","gravatar_id":"","url":"https://api.github.com/users/webcompas","html_url":"https://github.com/webcompas","followers_url":"https://api.github.com/users/webcompas/followers","following_url":"https://api.github.com/users/webcompas/following{/other_user}","gists_url":"https://api.github.com/users/webcompas/gists{/gist_id}","starred_url":"https://api.github.com/users/webcompas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webcompas/subscriptions","organizations_url":"https://api.github.com/users/webcompas/orgs","repos_url":"https://api.github.com/users/webcompas/repos","events_url":"https://api.github.com/users/webcompas/events{/privacy}","received_events_url":"https://api.github.com/users/webcompas/received_events","type":"User","site_admin":false},"repo":{"id":52012782,"name":"PhpZabbixApi","full_name":"webcompas/PhpZabbixApi","owner":{"login":"webcompas","id":1265601,"avatar_url":"https://avatars.githubusercontent.com/u/1265601?v=3","gravatar_id":"","url":"https://api.github.com/users/webcompas","html_url":"https://github.com/webcompas","followers_url":"https://api.github.com/users/webcompas/followers","following_url":"https://api.github.com/users/webcompas/following{/other_user}","gists_url":"https://api.github.com/users/webcompas/gists{/gist_id}","starred_url":"https://api.github.com/users/webcompas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webcompas/subscriptions","organizations_url":"https://api.github.com/users/webcompas/orgs","repos_url":"https://api.github.com/users/webcompas/repos","events_url":"https://api.github.com/users/webcompas/events{/privacy}","received_events_url":"https://api.github.com/users/webcompas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/webcompas/PhpZabbixApi","description":"A PHP library for the Zabbix™ JSON-RPC API.","fork":true,"url":"https://api.github.com/repos/webcompas/PhpZabbixApi","forks_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/forks","keys_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/teams","hooks_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/hooks","issue_events_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/issues/events{/number}","events_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/events","assignees_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/assignees{/user}","branches_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/branches{/branch}","tags_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/tags","blobs_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/git/refs{/sha}","trees_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/statuses/{sha}","languages_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/languages","stargazers_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/stargazers","contributors_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/contributors","subscribers_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/subscribers","subscription_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/subscription","commits_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/commits{/sha}","git_commits_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/git/commits{/sha}","comments_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/comments{/number}","issue_comment_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/issues/comments{/number}","contents_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/contents/{+path}","compare_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/merges","archive_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/downloads","issues_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/issues{/number}","pulls_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/pulls{/number}","milestones_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/milestones{/number}","notifications_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/labels{/name}","releases_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/releases{/id}","deployments_url":"https://api.github.com/repos/webcompas/PhpZabbixApi/deployments","created_at":"2016-02-18T14:24:32Z","updated_at":"2016-02-18T14:24:34Z","pushed_at":"2016-02-18T14:52:59Z","git_url":"git://github.com/webcompas/PhpZabbixApi.git","ssh_url":"git@github.com:webcompas/PhpZabbixApi.git","clone_url":"https://github.com/webcompas/PhpZabbixApi.git","svn_url":"https://github.com/webcompas/PhpZabbixApi","homepage":null,"size":128,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"confirm:master","ref":"master","sha":"38991773891e8e0b4e729d130defa55d65f5fb27","user":{"login":"confirm","id":12293948,"avatar_url":"https://avatars.githubusercontent.com/u/12293948?v=3","gravatar_id":"","url":"https://api.github.com/users/confirm","html_url":"https://github.com/confirm","followers_url":"https://api.github.com/users/confirm/followers","following_url":"https://api.github.com/users/confirm/following{/other_user}","gists_url":"https://api.github.com/users/confirm/gists{/gist_id}","starred_url":"https://api.github.com/users/confirm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/confirm/subscriptions","organizations_url":"https://api.github.com/users/confirm/orgs","repos_url":"https://api.github.com/users/confirm/repos","events_url":"https://api.github.com/users/confirm/events{/privacy}","received_events_url":"https://api.github.com/users/confirm/received_events","type":"Organization","site_admin":false},"repo":{"id":19606362,"name":"PhpZabbixApi","full_name":"confirm/PhpZabbixApi","owner":{"login":"confirm","id":12293948,"avatar_url":"https://avatars.githubusercontent.com/u/12293948?v=3","gravatar_id":"","url":"https://api.github.com/users/confirm","html_url":"https://github.com/confirm","followers_url":"https://api.github.com/users/confirm/followers","following_url":"https://api.github.com/users/confirm/following{/other_user}","gists_url":"https://api.github.com/users/confirm/gists{/gist_id}","starred_url":"https://api.github.com/users/confirm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/confirm/subscriptions","organizations_url":"https://api.github.com/users/confirm/orgs","repos_url":"https://api.github.com/users/confirm/repos","events_url":"https://api.github.com/users/confirm/events{/privacy}","received_events_url":"https://api.github.com/users/confirm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/confirm/PhpZabbixApi","description":"A PHP library for the Zabbix™ JSON-RPC API.","fork":false,"url":"https://api.github.com/repos/confirm/PhpZabbixApi","forks_url":"https://api.github.com/repos/confirm/PhpZabbixApi/forks","keys_url":"https://api.github.com/repos/confirm/PhpZabbixApi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/confirm/PhpZabbixApi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/confirm/PhpZabbixApi/teams","hooks_url":"https://api.github.com/repos/confirm/PhpZabbixApi/hooks","issue_events_url":"https://api.github.com/repos/confirm/PhpZabbixApi/issues/events{/number}","events_url":"https://api.github.com/repos/confirm/PhpZabbixApi/events","assignees_url":"https://api.github.com/repos/confirm/PhpZabbixApi/assignees{/user}","branches_url":"https://api.github.com/repos/confirm/PhpZabbixApi/branches{/branch}","tags_url":"https://api.github.com/repos/confirm/PhpZabbixApi/tags","blobs_url":"https://api.github.com/repos/confirm/PhpZabbixApi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/confirm/PhpZabbixApi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/confirm/PhpZabbixApi/git/refs{/sha}","trees_url":"https://api.github.com/repos/confirm/PhpZabbixApi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/confirm/PhpZabbixApi/statuses/{sha}","languages_url":"https://api.github.com/repos/confirm/PhpZabbixApi/languages","stargazers_url":"https://api.github.com/repos/confirm/PhpZabbixApi/stargazers","contributors_url":"https://api.github.com/repos/confirm/PhpZabbixApi/contributors","subscribers_url":"https://api.github.com/repos/confirm/PhpZabbixApi/subscribers","subscription_url":"https://api.github.com/repos/confirm/PhpZabbixApi/subscription","commits_url":"https://api.github.com/repos/confirm/PhpZabbixApi/commits{/sha}","git_commits_url":"https://api.github.com/repos/confirm/PhpZabbixApi/git/commits{/sha}","comments_url":"https://api.github.com/repos/confirm/PhpZabbixApi/comments{/number}","issue_comment_url":"https://api.github.com/repos/confirm/PhpZabbixApi/issues/comments{/number}","contents_url":"https://api.github.com/repos/confirm/PhpZabbixApi/contents/{+path}","compare_url":"https://api.github.com/repos/confirm/PhpZabbixApi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/confirm/PhpZabbixApi/merges","archive_url":"https://api.github.com/repos/confirm/PhpZabbixApi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/confirm/PhpZabbixApi/downloads","issues_url":"https://api.github.com/repos/confirm/PhpZabbixApi/issues{/number}","pulls_url":"https://api.github.com/repos/confirm/PhpZabbixApi/pulls{/number}","milestones_url":"https://api.github.com/repos/confirm/PhpZabbixApi/milestones{/number}","notifications_url":"https://api.github.com/repos/confirm/PhpZabbixApi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/confirm/PhpZabbixApi/labels{/name}","releases_url":"https://api.github.com/repos/confirm/PhpZabbixApi/releases{/id}","deployments_url":"https://api.github.com/repos/confirm/PhpZabbixApi/deployments","created_at":"2014-05-09T09:41:07Z","updated_at":"2016-04-16T11:02:10Z","pushed_at":"2016-05-04T18:14:31Z","git_url":"git://github.com/confirm/PhpZabbixApi.git","ssh_url":"git@github.com:confirm/PhpZabbixApi.git","clone_url":"https://github.com/confirm/PhpZabbixApi.git","svn_url":"https://github.com/confirm/PhpZabbixApi","homepage":null,"size":195,"stargazers_count":58,"watchers_count":58,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":5,"forks":34,"open_issues":5,"watchers":58,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/confirm/PhpZabbixApi/pulls/23"},"html":{"href":"https://github.com/confirm/PhpZabbixApi/pull/23"},"issue":{"href":"https://api.github.com/repos/confirm/PhpZabbixApi/issues/23"},"comments":{"href":"https://api.github.com/repos/confirm/PhpZabbixApi/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/confirm/PhpZabbixApi/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/confirm/PhpZabbixApi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/confirm/PhpZabbixApi/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/confirm/PhpZabbixApi/statuses/d581220103e0212ed06b92b7b3c3e6838485e235"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"domibarton","id":4124099,"avatar_url":"https://avatars.githubusercontent.com/u/4124099?v=3","gravatar_id":"","url":"https://api.github.com/users/domibarton","html_url":"https://github.com/domibarton","followers_url":"https://api.github.com/users/domibarton/followers","following_url":"https://api.github.com/users/domibarton/following{/other_user}","gists_url":"https://api.github.com/users/domibarton/gists{/gist_id}","starred_url":"https://api.github.com/users/domibarton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domibarton/subscriptions","organizations_url":"https://api.github.com/users/domibarton/orgs","repos_url":"https://api.github.com/users/domibarton/repos","events_url":"https://api.github.com/users/domibarton/events{/privacy}","received_events_url":"https://api.github.com/users/domibarton/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":3,"deletions":3,"changed_files":1}}