{"action":"created","comment":{"url":"https://api.github.com/repos/robinpowered/php-activerecord/pulls/comments/38937063","id":38937063,"diff_hunk":"@@ -3,6 +3,7 @@\n  * @package ActiveRecord\n  */\n namespace ActiveRecord;\n+use Closure;","path":"lib/Model.php","position":4,"original_position":4,"commit_id":"85892a5dc7a2c6444f1d17a6c7e261f405112ea4","original_commit_id":"85892a5dc7a2c6444f1d17a6c7e261f405112ea4","user":{"login":"Rican7","id":742384,"avatar_url":"https://avatars.githubusercontent.com/u/742384?v=3","gravatar_id":"","url":"https://api.github.com/users/Rican7","html_url":"https://github.com/Rican7","followers_url":"https://api.github.com/users/Rican7/followers","following_url":"https://api.github.com/users/Rican7/following{/other_user}","gists_url":"https://api.github.com/users/Rican7/gists{/gist_id}","starred_url":"https://api.github.com/users/Rican7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rican7/subscriptions","organizations_url":"https://api.github.com/users/Rican7/orgs","repos_url":"https://api.github.com/users/Rican7/repos","events_url":"https://api.github.com/users/Rican7/events{/privacy}","received_events_url":"https://api.github.com/users/Rican7/received_events","type":"User","site_admin":false},"body":"ah, it's only in the doc-block\r\nyou didn't put it in the actual method parameters","created_at":"2015-09-08T15:08:46Z","updated_at":"2015-09-08T15:08:46Z","html_url":"https://github.com/robinpowered/php-activerecord/pull/4#discussion_r38937063","pull_request_url":"https://api.github.com/repos/robinpowered/php-activerecord/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/robinpowered/php-activerecord/pulls/comments/38937063"},"html":{"href":"https://github.com/robinpowered/php-activerecord/pull/4#discussion_r38937063"},"pull_request":{"href":"https://api.github.com/repos/robinpowered/php-activerecord/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/robinpowered/php-activerecord/pulls/4","id":44370778,"html_url":"https://github.com/robinpowered/php-activerecord/pull/4","diff_url":"https://github.com/robinpowered/php-activerecord/pull/4.diff","patch_url":"https://github.com/robinpowered/php-activerecord/pull/4.patch","issue_url":"https://api.github.com/repos/robinpowered/php-activerecord/issues/4","number":4,"state":"open","locked":false,"title":"Chore: Docblock fixes","user":{"login":"brianmuse","id":548885,"avatar_url":"https://avatars.githubusercontent.com/u/548885?v=3","gravatar_id":"","url":"https://api.github.com/users/brianmuse","html_url":"https://github.com/brianmuse","followers_url":"https://api.github.com/users/brianmuse/followers","following_url":"https://api.github.com/users/brianmuse/following{/other_user}","gists_url":"https://api.github.com/users/brianmuse/gists{/gist_id}","starred_url":"https://api.github.com/users/brianmuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianmuse/subscriptions","organizations_url":"https://api.github.com/users/brianmuse/orgs","repos_url":"https://api.github.com/users/brianmuse/repos","events_url":"https://api.github.com/users/brianmuse/events{/privacy}","received_events_url":"https://api.github.com/users/brianmuse/received_events","type":"User","site_admin":false},"body":"Fixes up docblocks, specifically @param and @return tags. Most of these were discovered by inspection tools in PHPStorm. \r\n\r\nThe library is mixed on if it includes `@throws` tags, so I didn't add throws tag everywhere necessary. This PR strictly fixes incorrect types.","created_at":"2015-09-07T16:48:43Z","updated_at":"2015-09-08T15:08:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed6fdbeb042530cefe002e62a8058627c9169d50","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/robinpowered/php-activerecord/pulls/4/commits","review_comments_url":"https://api.github.com/repos/robinpowered/php-activerecord/pulls/4/comments","review_comment_url":"https://api.github.com/repos/robinpowered/php-activerecord/pulls/comments{/number}","comments_url":"https://api.github.com/repos/robinpowered/php-activerecord/issues/4/comments","statuses_url":"https://api.github.com/repos/robinpowered/php-activerecord/statuses/85892a5dc7a2c6444f1d17a6c7e261f405112ea4","head":{"label":"robinpowered:chore/docblock-fixes","ref":"chore/docblock-fixes","sha":"85892a5dc7a2c6444f1d17a6c7e261f405112ea4","user":{"login":"robinpowered","id":3586215,"avatar_url":"https://avatars.githubusercontent.com/u/3586215?v=3","gravatar_id":"","url":"https://api.github.com/users/robinpowered","html_url":"https://github.com/robinpowered","followers_url":"https://api.github.com/users/robinpowered/followers","following_url":"https://api.github.com/users/robinpowered/following{/other_user}","gists_url":"https://api.github.com/users/robinpowered/gists{/gist_id}","starred_url":"https://api.github.com/users/robinpowered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinpowered/subscriptions","organizations_url":"https://api.github.com/users/robinpowered/orgs","repos_url":"https://api.github.com/users/robinpowered/repos","events_url":"https://api.github.com/users/robinpowered/events{/privacy}","received_events_url":"https://api.github.com/users/robinpowered/received_events","type":"Organization","site_admin":false},"repo":{"id":36457845,"name":"php-activerecord","full_name":"robinpowered/php-activerecord","owner":{"login":"robinpowered","id":3586215,"avatar_url":"https://avatars.githubusercontent.com/u/3586215?v=3","gravatar_id":"","url":"https://api.github.com/users/robinpowered","html_url":"https://github.com/robinpowered","followers_url":"https://api.github.com/users/robinpowered/followers","following_url":"https://api.github.com/users/robinpowered/following{/other_user}","gists_url":"https://api.github.com/users/robinpowered/gists{/gist_id}","starred_url":"https://api.github.com/users/robinpowered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinpowered/subscriptions","organizations_url":"https://api.github.com/users/robinpowered/orgs","repos_url":"https://api.github.com/users/robinpowered/repos","events_url":"https://api.github.com/users/robinpowered/events{/privacy}","received_events_url":"https://api.github.com/users/robinpowered/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/robinpowered/php-activerecord","description":"ActiveRecord implementation for PHP","fork":true,"url":"https://api.github.com/repos/robinpowered/php-activerecord","forks_url":"https://api.github.com/repos/robinpowered/php-activerecord/forks","keys_url":"https://api.github.com/repos/robinpowered/php-activerecord/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robinpowered/php-activerecord/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robinpowered/php-activerecord/teams","hooks_url":"https://api.github.com/repos/robinpowered/php-activerecord/hooks","issue_events_url":"https://api.github.com/repos/robinpowered/php-activerecord/issues/events{/number}","events_url":"https://api.github.com/repos/robinpowered/php-activerecord/events","assignees_url":"https://api.github.com/repos/robinpowered/php-activerecord/assignees{/user}","branches_url":"https://api.github.com/repos/robinpowered/php-activerecord/branches{/branch}","tags_url":"https://api.github.com/repos/robinpowered/php-activerecord/tags","blobs_url":"https://api.github.com/repos/robinpowered/php-activerecord/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robinpowered/php-activerecord/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robinpowered/php-activerecord/git/refs{/sha}","trees_url":"https://api.github.com/repos/robinpowered/php-activerecord/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robinpowered/php-activerecord/statuses/{sha}","languages_url":"https://api.github.com/repos/robinpowered/php-activerecord/languages","stargazers_url":"https://api.github.com/repos/robinpowered/php-activerecord/stargazers","contributors_url":"https://api.github.com/repos/robinpowered/php-activerecord/contributors","subscribers_url":"https://api.github.com/repos/robinpowered/php-activerecord/subscribers","subscription_url":"https://api.github.com/repos/robinpowered/php-activerecord/subscription","commits_url":"https://api.github.com/repos/robinpowered/php-activerecord/commits{/sha}","git_commits_url":"https://api.github.com/repos/robinpowered/php-activerecord/git/commits{/sha}","comments_url":"https://api.github.com/repos/robinpowered/php-activerecord/comments{/number}","issue_comment_url":"https://api.github.com/repos/robinpowered/php-activerecord/issues/comments{/number}","contents_url":"https://api.github.com/repos/robinpowered/php-activerecord/contents/{+path}","compare_url":"https://api.github.com/repos/robinpowered/php-activerecord/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robinpowered/php-activerecord/merges","archive_url":"https://api.github.com/repos/robinpowered/php-activerecord/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robinpowered/php-activerecord/downloads","issues_url":"https://api.github.com/repos/robinpowered/php-activerecord/issues{/number}","pulls_url":"https://api.github.com/repos/robinpowered/php-activerecord/pulls{/number}","milestones_url":"https://api.github.com/repos/robinpowered/php-activerecord/milestones{/number}","notifications_url":"https://api.github.com/repos/robinpowered/php-activerecord/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robinpowered/php-activerecord/labels{/name}","releases_url":"https://api.github.com/repos/robinpowered/php-activerecord/releases{/id}","created_at":"2015-05-28T18:27:36Z","updated_at":"2015-09-08T14:11:16Z","pushed_at":"2015-09-08T13:41:41Z","git_url":"git://github.com/robinpowered/php-activerecord.git","ssh_url":"git@github.com:robinpowered/php-activerecord.git","clone_url":"https://github.com/robinpowered/php-activerecord.git","svn_url":"https://github.com/robinpowered/php-activerecord","homepage":"http://www.phpactiverecord.org/","size":1277,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"robinpowered:master","ref":"master","sha":"32db37afc4faf3a2e5c8ae8832089e7710faa8db","user":{"login":"robinpowered","id":3586215,"avatar_url":"https://avatars.githubusercontent.com/u/3586215?v=3","gravatar_id":"","url":"https://api.github.com/users/robinpowered","html_url":"https://github.com/robinpowered","followers_url":"https://api.github.com/users/robinpowered/followers","following_url":"https://api.github.com/users/robinpowered/following{/other_user}","gists_url":"https://api.github.com/users/robinpowered/gists{/gist_id}","starred_url":"https://api.github.com/users/robinpowered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinpowered/subscriptions","organizations_url":"https://api.github.com/users/robinpowered/orgs","repos_url":"https://api.github.com/users/robinpowered/repos","events_url":"https://api.github.com/users/robinpowered/events{/privacy}","received_events_url":"https://api.github.com/users/robinpowered/received_events","type":"Organization","site_admin":false},"repo":{"id":36457845,"name":"php-activerecord","full_name":"robinpowered/php-activerecord","owner":{"login":"robinpowered","id":3586215,"avatar_url":"https://avatars.githubusercontent.com/u/3586215?v=3","gravatar_id":"","url":"https://api.github.com/users/robinpowered","html_url":"https://github.com/robinpowered","followers_url":"https://api.github.com/users/robinpowered/followers","following_url":"https://api.github.com/users/robinpowered/following{/other_user}","gists_url":"https://api.github.com/users/robinpowered/gists{/gist_id}","starred_url":"https://api.github.com/users/robinpowered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinpowered/subscriptions","organizations_url":"https://api.github.com/users/robinpowered/orgs","repos_url":"https://api.github.com/users/robinpowered/repos","events_url":"https://api.github.com/users/robinpowered/events{/privacy}","received_events_url":"https://api.github.com/users/robinpowered/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/robinpowered/php-activerecord","description":"ActiveRecord implementation for PHP","fork":true,"url":"https://api.github.com/repos/robinpowered/php-activerecord","forks_url":"https://api.github.com/repos/robinpowered/php-activerecord/forks","keys_url":"https://api.github.com/repos/robinpowered/php-activerecord/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robinpowered/php-activerecord/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robinpowered/php-activerecord/teams","hooks_url":"https://api.github.com/repos/robinpowered/php-activerecord/hooks","issue_events_url":"https://api.github.com/repos/robinpowered/php-activerecord/issues/events{/number}","events_url":"https://api.github.com/repos/robinpowered/php-activerecord/events","assignees_url":"https://api.github.com/repos/robinpowered/php-activerecord/assignees{/user}","branches_url":"https://api.github.com/repos/robinpowered/php-activerecord/branches{/branch}","tags_url":"https://api.github.com/repos/robinpowered/php-activerecord/tags","blobs_url":"https://api.github.com/repos/robinpowered/php-activerecord/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robinpowered/php-activerecord/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robinpowered/php-activerecord/git/refs{/sha}","trees_url":"https://api.github.com/repos/robinpowered/php-activerecord/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robinpowered/php-activerecord/statuses/{sha}","languages_url":"https://api.github.com/repos/robinpowered/php-activerecord/languages","stargazers_url":"https://api.github.com/repos/robinpowered/php-activerecord/stargazers","contributors_url":"https://api.github.com/repos/robinpowered/php-activerecord/contributors","subscribers_url":"https://api.github.com/repos/robinpowered/php-activerecord/subscribers","subscription_url":"https://api.github.com/repos/robinpowered/php-activerecord/subscription","commits_url":"https://api.github.com/repos/robinpowered/php-activerecord/commits{/sha}","git_commits_url":"https://api.github.com/repos/robinpowered/php-activerecord/git/commits{/sha}","comments_url":"https://api.github.com/repos/robinpowered/php-activerecord/comments{/number}","issue_comment_url":"https://api.github.com/repos/robinpowered/php-activerecord/issues/comments{/number}","contents_url":"https://api.github.com/repos/robinpowered/php-activerecord/contents/{+path}","compare_url":"https://api.github.com/repos/robinpowered/php-activerecord/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robinpowered/php-activerecord/merges","archive_url":"https://api.github.com/repos/robinpowered/php-activerecord/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robinpowered/php-activerecord/downloads","issues_url":"https://api.github.com/repos/robinpowered/php-activerecord/issues{/number}","pulls_url":"https://api.github.com/repos/robinpowered/php-activerecord/pulls{/number}","milestones_url":"https://api.github.com/repos/robinpowered/php-activerecord/milestones{/number}","notifications_url":"https://api.github.com/repos/robinpowered/php-activerecord/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robinpowered/php-activerecord/labels{/name}","releases_url":"https://api.github.com/repos/robinpowered/php-activerecord/releases{/id}","created_at":"2015-05-28T18:27:36Z","updated_at":"2015-09-08T14:11:16Z","pushed_at":"2015-09-08T13:41:41Z","git_url":"git://github.com/robinpowered/php-activerecord.git","ssh_url":"git@github.com:robinpowered/php-activerecord.git","clone_url":"https://github.com/robinpowered/php-activerecord.git","svn_url":"https://github.com/robinpowered/php-activerecord","homepage":"http://www.phpactiverecord.org/","size":1277,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/robinpowered/php-activerecord/pulls/4"},"html":{"href":"https://github.com/robinpowered/php-activerecord/pull/4"},"issue":{"href":"https://api.github.com/repos/robinpowered/php-activerecord/issues/4"},"comments":{"href":"https://api.github.com/repos/robinpowered/php-activerecord/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/robinpowered/php-activerecord/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/robinpowered/php-activerecord/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/robinpowered/php-activerecord/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/robinpowered/php-activerecord/statuses/85892a5dc7a2c6444f1d17a6c7e261f405112ea4"}}}}