{"action":"opened","number":771,"pull_request":{"url":"https://api.github.com/repos/ruflin/Elastica/pulls/771","id":28652928,"html_url":"https://github.com/ruflin/Elastica/pull/771","diff_url":"https://github.com/ruflin/Elastica/pull/771.diff","patch_url":"https://github.com/ruflin/Elastica/pull/771.patch","issue_url":"https://api.github.com/repos/ruflin/Elastica/issues/771","number":771,"state":"open","locked":false,"title":"closes ruflin/Elastica#770","user":{"login":"final-gene","id":4430040,"avatar_url":"https://avatars.githubusercontent.com/u/4430040?v=3","gravatar_id":"","url":"https://api.github.com/users/final-gene","html_url":"https://github.com/final-gene","followers_url":"https://api.github.com/users/final-gene/followers","following_url":"https://api.github.com/users/final-gene/following{/other_user}","gists_url":"https://api.github.com/users/final-gene/gists{/gist_id}","starred_url":"https://api.github.com/users/final-gene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/final-gene/subscriptions","organizations_url":"https://api.github.com/users/final-gene/orgs","repos_url":"https://api.github.com/users/final-gene/repos","events_url":"https://api.github.com/users/final-gene/events{/privacy}","received_events_url":"https://api.github.com/users/final-gene/received_events","type":"User","site_admin":false},"body":"The Function \"setHeader\" expect an array, but \"hasConfig\" returns a boolean value. So we must not use the ternary operator here.","created_at":"2015-02-04T16:36:26Z","updated_at":"2015-02-04T16:36:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ruflin/Elastica/pulls/771/commits","review_comments_url":"https://api.github.com/repos/ruflin/Elastica/pulls/771/comments","review_comment_url":"https://api.github.com/repos/ruflin/Elastica/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ruflin/Elastica/issues/771/comments","statuses_url":"https://api.github.com/repos/ruflin/Elastica/statuses/4ccb4f19ebfc5854e2bcc35e7f9a49291d007f26","head":{"label":"EvolverGroup:issue-770-fix-elastica-guzzel-transport-object","ref":"issue-770-fix-elastica-guzzel-transport-object","sha":"4ccb4f19ebfc5854e2bcc35e7f9a49291d007f26","user":{"login":"EvolverGroup","id":6850237,"avatar_url":"https://avatars.githubusercontent.com/u/6850237?v=3","gravatar_id":"","url":"https://api.github.com/users/EvolverGroup","html_url":"https://github.com/EvolverGroup","followers_url":"https://api.github.com/users/EvolverGroup/followers","following_url":"https://api.github.com/users/EvolverGroup/following{/other_user}","gists_url":"https://api.github.com/users/EvolverGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/EvolverGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvolverGroup/subscriptions","organizations_url":"https://api.github.com/users/EvolverGroup/orgs","repos_url":"https://api.github.com/users/EvolverGroup/repos","events_url":"https://api.github.com/users/EvolverGroup/events{/privacy}","received_events_url":"https://api.github.com/users/EvolverGroup/received_events","type":"Organization","site_admin":false},"repo":{"id":30302745,"name":"Elastica","full_name":"EvolverGroup/Elastica","owner":{"login":"EvolverGroup","id":6850237,"avatar_url":"https://avatars.githubusercontent.com/u/6850237?v=3","gravatar_id":"","url":"https://api.github.com/users/EvolverGroup","html_url":"https://github.com/EvolverGroup","followers_url":"https://api.github.com/users/EvolverGroup/followers","following_url":"https://api.github.com/users/EvolverGroup/following{/other_user}","gists_url":"https://api.github.com/users/EvolverGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/EvolverGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvolverGroup/subscriptions","organizations_url":"https://api.github.com/users/EvolverGroup/orgs","repos_url":"https://api.github.com/users/EvolverGroup/repos","events_url":"https://api.github.com/users/EvolverGroup/events{/privacy}","received_events_url":"https://api.github.com/users/EvolverGroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EvolverGroup/Elastica","description":"Elastica is a PHP client for elasticsearch","fork":true,"url":"https://api.github.com/repos/EvolverGroup/Elastica","forks_url":"https://api.github.com/repos/EvolverGroup/Elastica/forks","keys_url":"https://api.github.com/repos/EvolverGroup/Elastica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EvolverGroup/Elastica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EvolverGroup/Elastica/teams","hooks_url":"https://api.github.com/repos/EvolverGroup/Elastica/hooks","issue_events_url":"https://api.github.com/repos/EvolverGroup/Elastica/issues/events{/number}","events_url":"https://api.github.com/repos/EvolverGroup/Elastica/events","assignees_url":"https://api.github.com/repos/EvolverGroup/Elastica/assignees{/user}","branches_url":"https://api.github.com/repos/EvolverGroup/Elastica/branches{/branch}","tags_url":"https://api.github.com/repos/EvolverGroup/Elastica/tags","blobs_url":"https://api.github.com/repos/EvolverGroup/Elastica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EvolverGroup/Elastica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EvolverGroup/Elastica/git/refs{/sha}","trees_url":"https://api.github.com/repos/EvolverGroup/Elastica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EvolverGroup/Elastica/statuses/{sha}","languages_url":"https://api.github.com/repos/EvolverGroup/Elastica/languages","stargazers_url":"https://api.github.com/repos/EvolverGroup/Elastica/stargazers","contributors_url":"https://api.github.com/repos/EvolverGroup/Elastica/contributors","subscribers_url":"https://api.github.com/repos/EvolverGroup/Elastica/subscribers","subscription_url":"https://api.github.com/repos/EvolverGroup/Elastica/subscription","commits_url":"https://api.github.com/repos/EvolverGroup/Elastica/commits{/sha}","git_commits_url":"https://api.github.com/repos/EvolverGroup/Elastica/git/commits{/sha}","comments_url":"https://api.github.com/repos/EvolverGroup/Elastica/comments{/number}","issue_comment_url":"https://api.github.com/repos/EvolverGroup/Elastica/issues/comments/{number}","contents_url":"https://api.github.com/repos/EvolverGroup/Elastica/contents/{+path}","compare_url":"https://api.github.com/repos/EvolverGroup/Elastica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EvolverGroup/Elastica/merges","archive_url":"https://api.github.com/repos/EvolverGroup/Elastica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EvolverGroup/Elastica/downloads","issues_url":"https://api.github.com/repos/EvolverGroup/Elastica/issues{/number}","pulls_url":"https://api.github.com/repos/EvolverGroup/Elastica/pulls{/number}","milestones_url":"https://api.github.com/repos/EvolverGroup/Elastica/milestones{/number}","notifications_url":"https://api.github.com/repos/EvolverGroup/Elastica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EvolverGroup/Elastica/labels{/name}","releases_url":"https://api.github.com/repos/EvolverGroup/Elastica/releases{/id}","created_at":"2015-02-04T14:31:18Z","updated_at":"2015-02-04T14:31:19Z","pushed_at":"2015-02-04T16:31:07Z","git_url":"git://github.com/EvolverGroup/Elastica.git","ssh_url":"git@github.com:EvolverGroup/Elastica.git","clone_url":"https://github.com/EvolverGroup/Elastica.git","svn_url":"https://github.com/EvolverGroup/Elastica","homepage":"http://elastica.io/","size":51260,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ruflin:master","ref":"master","sha":"3644cec36623e63a8c358c3c74db5e1c7b167fb4","user":{"login":"ruflin","id":244900,"avatar_url":"https://avatars.githubusercontent.com/u/244900?v=3","gravatar_id":"","url":"https://api.github.com/users/ruflin","html_url":"https://github.com/ruflin","followers_url":"https://api.github.com/users/ruflin/followers","following_url":"https://api.github.com/users/ruflin/following{/other_user}","gists_url":"https://api.github.com/users/ruflin/gists{/gist_id}","starred_url":"https://api.github.com/users/ruflin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruflin/subscriptions","organizations_url":"https://api.github.com/users/ruflin/orgs","repos_url":"https://api.github.com/users/ruflin/repos","events_url":"https://api.github.com/users/ruflin/events{/privacy}","received_events_url":"https://api.github.com/users/ruflin/received_events","type":"User","site_admin":false},"repo":{"id":1006445,"name":"Elastica","full_name":"ruflin/Elastica","owner":{"login":"ruflin","id":244900,"avatar_url":"https://avatars.githubusercontent.com/u/244900?v=3","gravatar_id":"","url":"https://api.github.com/users/ruflin","html_url":"https://github.com/ruflin","followers_url":"https://api.github.com/users/ruflin/followers","following_url":"https://api.github.com/users/ruflin/following{/other_user}","gists_url":"https://api.github.com/users/ruflin/gists{/gist_id}","starred_url":"https://api.github.com/users/ruflin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruflin/subscriptions","organizations_url":"https://api.github.com/users/ruflin/orgs","repos_url":"https://api.github.com/users/ruflin/repos","events_url":"https://api.github.com/users/ruflin/events{/privacy}","received_events_url":"https://api.github.com/users/ruflin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ruflin/Elastica","description":"Elastica is a PHP client for elasticsearch","fork":false,"url":"https://api.github.com/repos/ruflin/Elastica","forks_url":"https://api.github.com/repos/ruflin/Elastica/forks","keys_url":"https://api.github.com/repos/ruflin/Elastica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ruflin/Elastica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ruflin/Elastica/teams","hooks_url":"https://api.github.com/repos/ruflin/Elastica/hooks","issue_events_url":"https://api.github.com/repos/ruflin/Elastica/issues/events{/number}","events_url":"https://api.github.com/repos/ruflin/Elastica/events","assignees_url":"https://api.github.com/repos/ruflin/Elastica/assignees{/user}","branches_url":"https://api.github.com/repos/ruflin/Elastica/branches{/branch}","tags_url":"https://api.github.com/repos/ruflin/Elastica/tags","blobs_url":"https://api.github.com/repos/ruflin/Elastica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ruflin/Elastica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ruflin/Elastica/git/refs{/sha}","trees_url":"https://api.github.com/repos/ruflin/Elastica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ruflin/Elastica/statuses/{sha}","languages_url":"https://api.github.com/repos/ruflin/Elastica/languages","stargazers_url":"https://api.github.com/repos/ruflin/Elastica/stargazers","contributors_url":"https://api.github.com/repos/ruflin/Elastica/contributors","subscribers_url":"https://api.github.com/repos/ruflin/Elastica/subscribers","subscription_url":"https://api.github.com/repos/ruflin/Elastica/subscription","commits_url":"https://api.github.com/repos/ruflin/Elastica/commits{/sha}","git_commits_url":"https://api.github.com/repos/ruflin/Elastica/git/commits{/sha}","comments_url":"https://api.github.com/repos/ruflin/Elastica/comments{/number}","issue_comment_url":"https://api.github.com/repos/ruflin/Elastica/issues/comments/{number}","contents_url":"https://api.github.com/repos/ruflin/Elastica/contents/{+path}","compare_url":"https://api.github.com/repos/ruflin/Elastica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ruflin/Elastica/merges","archive_url":"https://api.github.com/repos/ruflin/Elastica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ruflin/Elastica/downloads","issues_url":"https://api.github.com/repos/ruflin/Elastica/issues{/number}","pulls_url":"https://api.github.com/repos/ruflin/Elastica/pulls{/number}","milestones_url":"https://api.github.com/repos/ruflin/Elastica/milestones{/number}","notifications_url":"https://api.github.com/repos/ruflin/Elastica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ruflin/Elastica/labels{/name}","releases_url":"https://api.github.com/repos/ruflin/Elastica/releases{/id}","created_at":"2010-10-19T17:04:21Z","updated_at":"2015-02-04T05:42:58Z","pushed_at":"2015-02-02T12:19:02Z","git_url":"git://github.com/ruflin/Elastica.git","ssh_url":"git@github.com:ruflin/Elastica.git","clone_url":"https://github.com/ruflin/Elastica.git","svn_url":"https://github.com/ruflin/Elastica","homepage":"http://elastica.io/","size":51260,"stargazers_count":874,"watchers_count":874,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":336,"mirror_url":null,"open_issues_count":96,"forks":336,"open_issues":96,"watchers":874,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ruflin/Elastica/pulls/771"},"html":{"href":"https://github.com/ruflin/Elastica/pull/771"},"issue":{"href":"https://api.github.com/repos/ruflin/Elastica/issues/771"},"comments":{"href":"https://api.github.com/repos/ruflin/Elastica/issues/771/comments"},"review_comments":{"href":"https://api.github.com/repos/ruflin/Elastica/pulls/771/comments"},"review_comment":{"href":"https://api.github.com/repos/ruflin/Elastica/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ruflin/Elastica/pulls/771/commits"},"statuses":{"href":"https://api.github.com/repos/ruflin/Elastica/statuses/4ccb4f19ebfc5854e2bcc35e7f9a49291d007f26"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}