{"action":"created","comment":{"url":"https://api.github.com/repos/h5p/h5p-php-library/pulls/comments/59490613","id":59490613,"diff_hunk":"@@ -20,9 +20,10 @@ public function getPlatformInfo();\n    * Fetches a file from a remote server using HTTP GET\n    *\n    * @param $url\n+   * @param $data\n    * @return string The content (response body). NULL if something went wrong\n    */\n-  public function fetchExternalData($url);\n+  public function fetchExternalData($url, $data);","path":"h5p.classes.php","position":19,"original_position":19,"commit_id":"29a86015956fff3a84f44ca6dc09ca3aef3fe960","original_commit_id":"29a86015956fff3a84f44ca6dc09ca3aef3fe960","user":{"login":"davericher","id":6945951,"avatar_url":"https://avatars.githubusercontent.com/u/6945951?v=3","gravatar_id":"","url":"https://api.github.com/users/davericher","html_url":"https://github.com/davericher","followers_url":"https://api.github.com/users/davericher/followers","following_url":"https://api.github.com/users/davericher/following{/other_user}","gists_url":"https://api.github.com/users/davericher/gists{/gist_id}","starred_url":"https://api.github.com/users/davericher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davericher/subscriptions","organizations_url":"https://api.github.com/users/davericher/orgs","repos_url":"https://api.github.com/users/davericher/repos","events_url":"https://api.github.com/users/davericher/events{/privacy}","received_events_url":"https://api.github.com/users/davericher/received_events","type":"User","site_admin":false},"body":"You changed the function but forgot to update the contract","created_at":"2016-04-13T04:07:56Z","updated_at":"2016-04-13T04:07:56Z","html_url":"https://github.com/h5p/h5p-php-library/pull/19#discussion_r59490613","pull_request_url":"https://api.github.com/repos/h5p/h5p-php-library/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/h5p/h5p-php-library/pulls/comments/59490613"},"html":{"href":"https://github.com/h5p/h5p-php-library/pull/19#discussion_r59490613"},"pull_request":{"href":"https://api.github.com/repos/h5p/h5p-php-library/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/h5p/h5p-php-library/pulls/19","id":66263200,"html_url":"https://github.com/h5p/h5p-php-library/pull/19","diff_url":"https://github.com/h5p/h5p-php-library/pull/19.diff","patch_url":"https://github.com/h5p/h5p-php-library/pull/19.patch","issue_url":"https://api.github.com/repos/h5p/h5p-php-library/issues/19","number":19,"state":"open","locked":false,"title":"Major clean up of both syntactical errors and spelling","user":{"login":"davericher","id":6945951,"avatar_url":"https://avatars.githubusercontent.com/u/6945951?v=3","gravatar_id":"","url":"https://api.github.com/users/davericher","html_url":"https://github.com/davericher","followers_url":"https://api.github.com/users/davericher/followers","following_url":"https://api.github.com/users/davericher/following{/other_user}","gists_url":"https://api.github.com/users/davericher/gists{/gist_id}","starred_url":"https://api.github.com/users/davericher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davericher/subscriptions","organizations_url":"https://api.github.com/users/davericher/orgs","repos_url":"https://api.github.com/users/davericher/repos","events_url":"https://api.github.com/users/davericher/events{/privacy}","received_events_url":"https://api.github.com/users/davericher/received_events","type":"User","site_admin":false},"body":"Spelling corrections, type hints, two unused private methods removed, adjustment to interface for additional missing parameter, method level variable renames to follow pascal case, and a lot lot more. No core logic is changed, I just really hate seeing yellow and red warnings in my IDE","created_at":"2016-04-13T04:05:53Z","updated_at":"2016-04-13T04:07:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a279ad1905620d3459984907435efbacb75c06e8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/h5p/h5p-php-library/pulls/19/commits","review_comments_url":"https://api.github.com/repos/h5p/h5p-php-library/pulls/19/comments","review_comment_url":"https://api.github.com/repos/h5p/h5p-php-library/pulls/comments{/number}","comments_url":"https://api.github.com/repos/h5p/h5p-php-library/issues/19/comments","statuses_url":"https://api.github.com/repos/h5p/h5p-php-library/statuses/29a86015956fff3a84f44ca6dc09ca3aef3fe960","head":{"label":"davericher:master","ref":"master","sha":"29a86015956fff3a84f44ca6dc09ca3aef3fe960","user":{"login":"davericher","id":6945951,"avatar_url":"https://avatars.githubusercontent.com/u/6945951?v=3","gravatar_id":"","url":"https://api.github.com/users/davericher","html_url":"https://github.com/davericher","followers_url":"https://api.github.com/users/davericher/followers","following_url":"https://api.github.com/users/davericher/following{/other_user}","gists_url":"https://api.github.com/users/davericher/gists{/gist_id}","starred_url":"https://api.github.com/users/davericher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davericher/subscriptions","organizations_url":"https://api.github.com/users/davericher/orgs","repos_url":"https://api.github.com/users/davericher/repos","events_url":"https://api.github.com/users/davericher/events{/privacy}","received_events_url":"https://api.github.com/users/davericher/received_events","type":"User","site_admin":false},"repo":{"id":56119761,"name":"h5p-php-library","full_name":"davericher/h5p-php-library","owner":{"login":"davericher","id":6945951,"avatar_url":"https://avatars.githubusercontent.com/u/6945951?v=3","gravatar_id":"","url":"https://api.github.com/users/davericher","html_url":"https://github.com/davericher","followers_url":"https://api.github.com/users/davericher/followers","following_url":"https://api.github.com/users/davericher/following{/other_user}","gists_url":"https://api.github.com/users/davericher/gists{/gist_id}","starred_url":"https://api.github.com/users/davericher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davericher/subscriptions","organizations_url":"https://api.github.com/users/davericher/orgs","repos_url":"https://api.github.com/users/davericher/repos","events_url":"https://api.github.com/users/davericher/events{/privacy}","received_events_url":"https://api.github.com/users/davericher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davericher/h5p-php-library","description":"","fork":true,"url":"https://api.github.com/repos/davericher/h5p-php-library","forks_url":"https://api.github.com/repos/davericher/h5p-php-library/forks","keys_url":"https://api.github.com/repos/davericher/h5p-php-library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davericher/h5p-php-library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davericher/h5p-php-library/teams","hooks_url":"https://api.github.com/repos/davericher/h5p-php-library/hooks","issue_events_url":"https://api.github.com/repos/davericher/h5p-php-library/issues/events{/number}","events_url":"https://api.github.com/repos/davericher/h5p-php-library/events","assignees_url":"https://api.github.com/repos/davericher/h5p-php-library/assignees{/user}","branches_url":"https://api.github.com/repos/davericher/h5p-php-library/branches{/branch}","tags_url":"https://api.github.com/repos/davericher/h5p-php-library/tags","blobs_url":"https://api.github.com/repos/davericher/h5p-php-library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davericher/h5p-php-library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davericher/h5p-php-library/git/refs{/sha}","trees_url":"https://api.github.com/repos/davericher/h5p-php-library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davericher/h5p-php-library/statuses/{sha}","languages_url":"https://api.github.com/repos/davericher/h5p-php-library/languages","stargazers_url":"https://api.github.com/repos/davericher/h5p-php-library/stargazers","contributors_url":"https://api.github.com/repos/davericher/h5p-php-library/contributors","subscribers_url":"https://api.github.com/repos/davericher/h5p-php-library/subscribers","subscription_url":"https://api.github.com/repos/davericher/h5p-php-library/subscription","commits_url":"https://api.github.com/repos/davericher/h5p-php-library/commits{/sha}","git_commits_url":"https://api.github.com/repos/davericher/h5p-php-library/git/commits{/sha}","comments_url":"https://api.github.com/repos/davericher/h5p-php-library/comments{/number}","issue_comment_url":"https://api.github.com/repos/davericher/h5p-php-library/issues/comments{/number}","contents_url":"https://api.github.com/repos/davericher/h5p-php-library/contents/{+path}","compare_url":"https://api.github.com/repos/davericher/h5p-php-library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davericher/h5p-php-library/merges","archive_url":"https://api.github.com/repos/davericher/h5p-php-library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davericher/h5p-php-library/downloads","issues_url":"https://api.github.com/repos/davericher/h5p-php-library/issues{/number}","pulls_url":"https://api.github.com/repos/davericher/h5p-php-library/pulls{/number}","milestones_url":"https://api.github.com/repos/davericher/h5p-php-library/milestones{/number}","notifications_url":"https://api.github.com/repos/davericher/h5p-php-library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davericher/h5p-php-library/labels{/name}","releases_url":"https://api.github.com/repos/davericher/h5p-php-library/releases{/id}","deployments_url":"https://api.github.com/repos/davericher/h5p-php-library/deployments","created_at":"2016-04-13T04:01:49Z","updated_at":"2016-04-13T04:01:51Z","pushed_at":"2016-04-13T04:03:27Z","git_url":"git://github.com/davericher/h5p-php-library.git","ssh_url":"git@github.com:davericher/h5p-php-library.git","clone_url":"https://github.com/davericher/h5p-php-library.git","svn_url":"https://github.com/davericher/h5p-php-library","homepage":null,"size":1485,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"h5p:master","ref":"master","sha":"e26a66234170f75a1539931b1eeebe839f452ceb","user":{"login":"h5p","id":5999542,"avatar_url":"https://avatars.githubusercontent.com/u/5999542?v=3","gravatar_id":"","url":"https://api.github.com/users/h5p","html_url":"https://github.com/h5p","followers_url":"https://api.github.com/users/h5p/followers","following_url":"https://api.github.com/users/h5p/following{/other_user}","gists_url":"https://api.github.com/users/h5p/gists{/gist_id}","starred_url":"https://api.github.com/users/h5p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h5p/subscriptions","organizations_url":"https://api.github.com/users/h5p/orgs","repos_url":"https://api.github.com/users/h5p/repos","events_url":"https://api.github.com/users/h5p/events{/privacy}","received_events_url":"https://api.github.com/users/h5p/received_events","type":"Organization","site_admin":false},"repo":{"id":18730298,"name":"h5p-php-library","full_name":"h5p/h5p-php-library","owner":{"login":"h5p","id":5999542,"avatar_url":"https://avatars.githubusercontent.com/u/5999542?v=3","gravatar_id":"","url":"https://api.github.com/users/h5p","html_url":"https://github.com/h5p","followers_url":"https://api.github.com/users/h5p/followers","following_url":"https://api.github.com/users/h5p/following{/other_user}","gists_url":"https://api.github.com/users/h5p/gists{/gist_id}","starred_url":"https://api.github.com/users/h5p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h5p/subscriptions","organizations_url":"https://api.github.com/users/h5p/orgs","repos_url":"https://api.github.com/users/h5p/repos","events_url":"https://api.github.com/users/h5p/events{/privacy}","received_events_url":"https://api.github.com/users/h5p/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/h5p/h5p-php-library","description":"","fork":false,"url":"https://api.github.com/repos/h5p/h5p-php-library","forks_url":"https://api.github.com/repos/h5p/h5p-php-library/forks","keys_url":"https://api.github.com/repos/h5p/h5p-php-library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/h5p/h5p-php-library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/h5p/h5p-php-library/teams","hooks_url":"https://api.github.com/repos/h5p/h5p-php-library/hooks","issue_events_url":"https://api.github.com/repos/h5p/h5p-php-library/issues/events{/number}","events_url":"https://api.github.com/repos/h5p/h5p-php-library/events","assignees_url":"https://api.github.com/repos/h5p/h5p-php-library/assignees{/user}","branches_url":"https://api.github.com/repos/h5p/h5p-php-library/branches{/branch}","tags_url":"https://api.github.com/repos/h5p/h5p-php-library/tags","blobs_url":"https://api.github.com/repos/h5p/h5p-php-library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/h5p/h5p-php-library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/h5p/h5p-php-library/git/refs{/sha}","trees_url":"https://api.github.com/repos/h5p/h5p-php-library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/h5p/h5p-php-library/statuses/{sha}","languages_url":"https://api.github.com/repos/h5p/h5p-php-library/languages","stargazers_url":"https://api.github.com/repos/h5p/h5p-php-library/stargazers","contributors_url":"https://api.github.com/repos/h5p/h5p-php-library/contributors","subscribers_url":"https://api.github.com/repos/h5p/h5p-php-library/subscribers","subscription_url":"https://api.github.com/repos/h5p/h5p-php-library/subscription","commits_url":"https://api.github.com/repos/h5p/h5p-php-library/commits{/sha}","git_commits_url":"https://api.github.com/repos/h5p/h5p-php-library/git/commits{/sha}","comments_url":"https://api.github.com/repos/h5p/h5p-php-library/comments{/number}","issue_comment_url":"https://api.github.com/repos/h5p/h5p-php-library/issues/comments{/number}","contents_url":"https://api.github.com/repos/h5p/h5p-php-library/contents/{+path}","compare_url":"https://api.github.com/repos/h5p/h5p-php-library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/h5p/h5p-php-library/merges","archive_url":"https://api.github.com/repos/h5p/h5p-php-library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/h5p/h5p-php-library/downloads","issues_url":"https://api.github.com/repos/h5p/h5p-php-library/issues{/number}","pulls_url":"https://api.github.com/repos/h5p/h5p-php-library/pulls{/number}","milestones_url":"https://api.github.com/repos/h5p/h5p-php-library/milestones{/number}","notifications_url":"https://api.github.com/repos/h5p/h5p-php-library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/h5p/h5p-php-library/labels{/name}","releases_url":"https://api.github.com/repos/h5p/h5p-php-library/releases{/id}","deployments_url":"https://api.github.com/repos/h5p/h5p-php-library/deployments","created_at":"2014-04-13T13:53:01Z","updated_at":"2016-04-05T16:35:17Z","pushed_at":"2016-04-13T04:05:53Z","git_url":"git://github.com/h5p/h5p-php-library.git","ssh_url":"git@github.com:h5p/h5p-php-library.git","clone_url":"https://github.com/h5p/h5p-php-library.git","svn_url":"https://github.com/h5p/h5p-php-library","homepage":null,"size":1448,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":11,"forks":12,"open_issues":11,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/h5p/h5p-php-library/pulls/19"},"html":{"href":"https://github.com/h5p/h5p-php-library/pull/19"},"issue":{"href":"https://api.github.com/repos/h5p/h5p-php-library/issues/19"},"comments":{"href":"https://api.github.com/repos/h5p/h5p-php-library/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/h5p/h5p-php-library/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/h5p/h5p-php-library/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/h5p/h5p-php-library/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/h5p/h5p-php-library/statuses/29a86015956fff3a84f44ca6dc09ca3aef3fe960"}}}}