{"action":"opened","number":285,"pull_request":{"url":"https://api.github.com/repos/cmgmyr/laravel-messenger/pulls/285","id":169807844,"html_url":"https://github.com/cmgmyr/laravel-messenger/pull/285","diff_url":"https://github.com/cmgmyr/laravel-messenger/pull/285.diff","patch_url":"https://github.com/cmgmyr/laravel-messenger/pull/285.patch","issue_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/285","number":285,"state":"open","locked":false,"title":"Thread method getAllLatest call latest from static","user":{"login":"a-komarev","id":1849174,"avatar_url":"https://avatars0.githubusercontent.com/u/1849174?v=4","gravatar_id":"","url":"https://api.github.com/users/a-komarev","html_url":"https://github.com/a-komarev","followers_url":"https://api.github.com/users/a-komarev/followers","following_url":"https://api.github.com/users/a-komarev/following{/other_user}","gists_url":"https://api.github.com/users/a-komarev/gists{/gist_id}","starred_url":"https://api.github.com/users/a-komarev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-komarev/subscriptions","organizations_url":"https://api.github.com/users/a-komarev/orgs","repos_url":"https://api.github.com/users/a-komarev/repos","events_url":"https://api.github.com/users/a-komarev/events{/privacy}","received_events_url":"https://api.github.com/users/a-komarev/received_events","type":"User","site_admin":false},"body":"This behavior important for the extended Thread model, otherwise Query Builder will be called on `Cmgmyr\\Messenger\\Models\\Thread` model instead of extended one.\r\n\r\nAdditionally I've fixed DocBlock return type to reflect that Query Builder will be returned.","created_at":"2018-02-18T00:04:30Z","updated_at":"2018-02-18T00:04:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/pulls/285/commits","review_comments_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/pulls/285/comments","review_comment_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/285/comments","statuses_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/statuses/691051e311986b7c265ae1c609ddc33f31ab21f0","head":{"label":"cybercog:feature/thread-get-all-latest-extensible","ref":"feature/thread-get-all-latest-extensible","sha":"691051e311986b7c265ae1c609ddc33f31ab21f0","user":{"login":"cybercog","id":5887416,"avatar_url":"https://avatars2.githubusercontent.com/u/5887416?v=4","gravatar_id":"","url":"https://api.github.com/users/cybercog","html_url":"https://github.com/cybercog","followers_url":"https://api.github.com/users/cybercog/followers","following_url":"https://api.github.com/users/cybercog/following{/other_user}","gists_url":"https://api.github.com/users/cybercog/gists{/gist_id}","starred_url":"https://api.github.com/users/cybercog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cybercog/subscriptions","organizations_url":"https://api.github.com/users/cybercog/orgs","repos_url":"https://api.github.com/users/cybercog/repos","events_url":"https://api.github.com/users/cybercog/events{/privacy}","received_events_url":"https://api.github.com/users/cybercog/received_events","type":"Organization","site_admin":false},"repo":{"id":42789856,"name":"laravel-messenger","full_name":"cybercog/laravel-messenger","owner":{"login":"cybercog","id":5887416,"avatar_url":"https://avatars2.githubusercontent.com/u/5887416?v=4","gravatar_id":"","url":"https://api.github.com/users/cybercog","html_url":"https://github.com/cybercog","followers_url":"https://api.github.com/users/cybercog/followers","following_url":"https://api.github.com/users/cybercog/following{/other_user}","gists_url":"https://api.github.com/users/cybercog/gists{/gist_id}","starred_url":"https://api.github.com/users/cybercog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cybercog/subscriptions","organizations_url":"https://api.github.com/users/cybercog/orgs","repos_url":"https://api.github.com/users/cybercog/repos","events_url":"https://api.github.com/users/cybercog/events{/privacy}","received_events_url":"https://api.github.com/users/cybercog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cybercog/laravel-messenger","description":"Simple user messaging package for Laravel (4 & 5)","fork":true,"url":"https://api.github.com/repos/cybercog/laravel-messenger","forks_url":"https://api.github.com/repos/cybercog/laravel-messenger/forks","keys_url":"https://api.github.com/repos/cybercog/laravel-messenger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cybercog/laravel-messenger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cybercog/laravel-messenger/teams","hooks_url":"https://api.github.com/repos/cybercog/laravel-messenger/hooks","issue_events_url":"https://api.github.com/repos/cybercog/laravel-messenger/issues/events{/number}","events_url":"https://api.github.com/repos/cybercog/laravel-messenger/events","assignees_url":"https://api.github.com/repos/cybercog/laravel-messenger/assignees{/user}","branches_url":"https://api.github.com/repos/cybercog/laravel-messenger/branches{/branch}","tags_url":"https://api.github.com/repos/cybercog/laravel-messenger/tags","blobs_url":"https://api.github.com/repos/cybercog/laravel-messenger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cybercog/laravel-messenger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cybercog/laravel-messenger/git/refs{/sha}","trees_url":"https://api.github.com/repos/cybercog/laravel-messenger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cybercog/laravel-messenger/statuses/{sha}","languages_url":"https://api.github.com/repos/cybercog/laravel-messenger/languages","stargazers_url":"https://api.github.com/repos/cybercog/laravel-messenger/stargazers","contributors_url":"https://api.github.com/repos/cybercog/laravel-messenger/contributors","subscribers_url":"https://api.github.com/repos/cybercog/laravel-messenger/subscribers","subscription_url":"https://api.github.com/repos/cybercog/laravel-messenger/subscription","commits_url":"https://api.github.com/repos/cybercog/laravel-messenger/commits{/sha}","git_commits_url":"https://api.github.com/repos/cybercog/laravel-messenger/git/commits{/sha}","comments_url":"https://api.github.com/repos/cybercog/laravel-messenger/comments{/number}","issue_comment_url":"https://api.github.com/repos/cybercog/laravel-messenger/issues/comments{/number}","contents_url":"https://api.github.com/repos/cybercog/laravel-messenger/contents/{+path}","compare_url":"https://api.github.com/repos/cybercog/laravel-messenger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cybercog/laravel-messenger/merges","archive_url":"https://api.github.com/repos/cybercog/laravel-messenger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cybercog/laravel-messenger/downloads","issues_url":"https://api.github.com/repos/cybercog/laravel-messenger/issues{/number}","pulls_url":"https://api.github.com/repos/cybercog/laravel-messenger/pulls{/number}","milestones_url":"https://api.github.com/repos/cybercog/laravel-messenger/milestones{/number}","notifications_url":"https://api.github.com/repos/cybercog/laravel-messenger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cybercog/laravel-messenger/labels{/name}","releases_url":"https://api.github.com/repos/cybercog/laravel-messenger/releases{/id}","deployments_url":"https://api.github.com/repos/cybercog/laravel-messenger/deployments","created_at":"2015-09-19T21:13:28Z","updated_at":"2016-01-28T23:53:56Z","pushed_at":"2018-02-18T00:03:26Z","git_url":"git://github.com/cybercog/laravel-messenger.git","ssh_url":"git@github.com:cybercog/laravel-messenger.git","clone_url":"https://github.com/cybercog/laravel-messenger.git","svn_url":"https://github.com/cybercog/laravel-messenger","homepage":"","size":259,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cmgmyr:master","ref":"master","sha":"b6235a498e4a772e13b038cb2aceff42c8172537","user":{"login":"cmgmyr","id":4693481,"avatar_url":"https://avatars0.githubusercontent.com/u/4693481?v=4","gravatar_id":"","url":"https://api.github.com/users/cmgmyr","html_url":"https://github.com/cmgmyr","followers_url":"https://api.github.com/users/cmgmyr/followers","following_url":"https://api.github.com/users/cmgmyr/following{/other_user}","gists_url":"https://api.github.com/users/cmgmyr/gists{/gist_id}","starred_url":"https://api.github.com/users/cmgmyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmgmyr/subscriptions","organizations_url":"https://api.github.com/users/cmgmyr/orgs","repos_url":"https://api.github.com/users/cmgmyr/repos","events_url":"https://api.github.com/users/cmgmyr/events{/privacy}","received_events_url":"https://api.github.com/users/cmgmyr/received_events","type":"User","site_admin":false},"repo":{"id":25933211,"name":"laravel-messenger","full_name":"cmgmyr/laravel-messenger","owner":{"login":"cmgmyr","id":4693481,"avatar_url":"https://avatars0.githubusercontent.com/u/4693481?v=4","gravatar_id":"","url":"https://api.github.com/users/cmgmyr","html_url":"https://github.com/cmgmyr","followers_url":"https://api.github.com/users/cmgmyr/followers","following_url":"https://api.github.com/users/cmgmyr/following{/other_user}","gists_url":"https://api.github.com/users/cmgmyr/gists{/gist_id}","starred_url":"https://api.github.com/users/cmgmyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmgmyr/subscriptions","organizations_url":"https://api.github.com/users/cmgmyr/orgs","repos_url":"https://api.github.com/users/cmgmyr/repos","events_url":"https://api.github.com/users/cmgmyr/events{/privacy}","received_events_url":"https://api.github.com/users/cmgmyr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cmgmyr/laravel-messenger","description":"Simple user messaging package for Laravel (4 & 5)","fork":false,"url":"https://api.github.com/repos/cmgmyr/laravel-messenger","forks_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/forks","keys_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/teams","hooks_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/hooks","issue_events_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/events{/number}","events_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/events","assignees_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/assignees{/user}","branches_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/branches{/branch}","tags_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/tags","blobs_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/statuses/{sha}","languages_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/languages","stargazers_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/stargazers","contributors_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/contributors","subscribers_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/subscribers","subscription_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/subscription","commits_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/contents/{+path}","compare_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/merges","archive_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/downloads","issues_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues{/number}","pulls_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/pulls{/number}","milestones_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/milestones{/number}","notifications_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/labels{/name}","releases_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/releases{/id}","deployments_url":"https://api.github.com/repos/cmgmyr/laravel-messenger/deployments","created_at":"2014-10-29T17:39:44Z","updated_at":"2018-02-16T22:28:42Z","pushed_at":"2018-02-17T23:57:36Z","git_url":"git://github.com/cmgmyr/laravel-messenger.git","ssh_url":"git@github.com:cmgmyr/laravel-messenger.git","clone_url":"https://github.com/cmgmyr/laravel-messenger.git","svn_url":"https://github.com/cmgmyr/laravel-messenger","homepage":"","size":305,"stargazers_count":1419,"watchers_count":1419,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":329,"mirror_url":null,"archived":false,"open_issues_count":22,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":329,"open_issues":22,"watchers":1419,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cmgmyr/laravel-messenger/pulls/285"},"html":{"href":"https://github.com/cmgmyr/laravel-messenger/pull/285"},"issue":{"href":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/285"},"comments":{"href":"https://api.github.com/repos/cmgmyr/laravel-messenger/issues/285/comments"},"review_comments":{"href":"https://api.github.com/repos/cmgmyr/laravel-messenger/pulls/285/comments"},"review_comment":{"href":"https://api.github.com/repos/cmgmyr/laravel-messenger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cmgmyr/laravel-messenger/pulls/285/commits"},"statuses":{"href":"https://api.github.com/repos/cmgmyr/laravel-messenger/statuses/691051e311986b7c265ae1c609ddc33f31ab21f0"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"a-komarev"}}