{"action":"created","comment":{"url":"https://api.github.com/repos/doctrine/doctrine2/pulls/comments/189441992","pull_request_review_id":121626627,"id":189441992,"diff_hunk":"@@ -107,6 +107,16 @@ public function count()\n \n         return $this->count;\n     }\n+    \n+    /**\n+     * Returns last page number\n+     *\n+     * @return int\n+     */\n+    public function lastPage()","path":"lib/Doctrine/ORM/Tools/Pagination/Paginator.php","position":10,"original_position":10,"commit_id":"68516117bc541b0793dc16d98231a90e1519289e","original_commit_id":"68516117bc541b0793dc16d98231a90e1519289e","user":{"login":"Majkl578","id":144181,"avatar_url":"https://avatars2.githubusercontent.com/u/144181?v=4","gravatar_id":"","url":"https://api.github.com/users/Majkl578","html_url":"https://github.com/Majkl578","followers_url":"https://api.github.com/users/Majkl578/followers","following_url":"https://api.github.com/users/Majkl578/following{/other_user}","gists_url":"https://api.github.com/users/Majkl578/gists{/gist_id}","starred_url":"https://api.github.com/users/Majkl578/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Majkl578/subscriptions","organizations_url":"https://api.github.com/users/Majkl578/orgs","repos_url":"https://api.github.com/users/Majkl578/repos","events_url":"https://api.github.com/users/Majkl578/events{/privacy}","received_events_url":"https://api.github.com/users/Majkl578/received_events","type":"User","site_admin":false},"body":"Or `getPagesCount()`.\r\nAlso needs a return type.","created_at":"2018-05-19T18:47:23Z","updated_at":"2018-05-19T18:48:01Z","html_url":"https://github.com/doctrine/doctrine2/pull/7222#discussion_r189441992","pull_request_url":"https://api.github.com/repos/doctrine/doctrine2/pulls/7222","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/doctrine/doctrine2/pulls/comments/189441992"},"html":{"href":"https://github.com/doctrine/doctrine2/pull/7222#discussion_r189441992"},"pull_request":{"href":"https://api.github.com/repos/doctrine/doctrine2/pulls/7222"}},"in_reply_to_id":189019512},"pull_request":{"url":"https://api.github.com/repos/doctrine/doctrine2/pulls/7222","id":187633276,"html_url":"https://github.com/doctrine/doctrine2/pull/7222","diff_url":"https://github.com/doctrine/doctrine2/pull/7222.diff","patch_url":"https://github.com/doctrine/doctrine2/pull/7222.patch","issue_url":"https://api.github.com/repos/doctrine/doctrine2/issues/7222","number":7222,"state":"open","locked":false,"title":"Add lastPage getter to Paginator","user":{"login":"atillay","id":9945218,"avatar_url":"https://avatars1.githubusercontent.com/u/9945218?v=4","gravatar_id":"","url":"https://api.github.com/users/atillay","html_url":"https://github.com/atillay","followers_url":"https://api.github.com/users/atillay/followers","following_url":"https://api.github.com/users/atillay/following{/other_user}","gists_url":"https://api.github.com/users/atillay/gists{/gist_id}","starred_url":"https://api.github.com/users/atillay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atillay/subscriptions","organizations_url":"https://api.github.com/users/atillay/orgs","repos_url":"https://api.github.com/users/atillay/repos","events_url":"https://api.github.com/users/atillay/events{/privacy}","received_events_url":"https://api.github.com/users/atillay/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-12T18:10:50Z","updated_at":"2018-05-19T18:48:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dc9d36f69e7cede20492154b4f3810e544de1e5d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":169872404,"url":"https://api.github.com/repos/doctrine/doctrine2/labels/Missing%20Tests","name":"Missing Tests","color":"e11d21","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/doctrine/doctrine2/pulls/7222/commits","review_comments_url":"https://api.github.com/repos/doctrine/doctrine2/pulls/7222/comments","review_comment_url":"https://api.github.com/repos/doctrine/doctrine2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/doctrine/doctrine2/issues/7222/comments","statuses_url":"https://api.github.com/repos/doctrine/doctrine2/statuses/68516117bc541b0793dc16d98231a90e1519289e","head":{"label":"atillay:patch-1","ref":"patch-1","sha":"68516117bc541b0793dc16d98231a90e1519289e","user":{"login":"atillay","id":9945218,"avatar_url":"https://avatars1.githubusercontent.com/u/9945218?v=4","gravatar_id":"","url":"https://api.github.com/users/atillay","html_url":"https://github.com/atillay","followers_url":"https://api.github.com/users/atillay/followers","following_url":"https://api.github.com/users/atillay/following{/other_user}","gists_url":"https://api.github.com/users/atillay/gists{/gist_id}","starred_url":"https://api.github.com/users/atillay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atillay/subscriptions","organizations_url":"https://api.github.com/users/atillay/orgs","repos_url":"https://api.github.com/users/atillay/repos","events_url":"https://api.github.com/users/atillay/events{/privacy}","received_events_url":"https://api.github.com/users/atillay/received_events","type":"User","site_admin":false},"repo":{"id":133168589,"name":"doctrine2","full_name":"atillay/doctrine2","owner":{"login":"atillay","id":9945218,"avatar_url":"https://avatars1.githubusercontent.com/u/9945218?v=4","gravatar_id":"","url":"https://api.github.com/users/atillay","html_url":"https://github.com/atillay","followers_url":"https://api.github.com/users/atillay/followers","following_url":"https://api.github.com/users/atillay/following{/other_user}","gists_url":"https://api.github.com/users/atillay/gists{/gist_id}","starred_url":"https://api.github.com/users/atillay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atillay/subscriptions","organizations_url":"https://api.github.com/users/atillay/orgs","repos_url":"https://api.github.com/users/atillay/repos","events_url":"https://api.github.com/users/atillay/events{/privacy}","received_events_url":"https://api.github.com/users/atillay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/atillay/doctrine2","description":"Doctrine 2 Object Relational Mapper (ORM)","fork":true,"url":"https://api.github.com/repos/atillay/doctrine2","forks_url":"https://api.github.com/repos/atillay/doctrine2/forks","keys_url":"https://api.github.com/repos/atillay/doctrine2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atillay/doctrine2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atillay/doctrine2/teams","hooks_url":"https://api.github.com/repos/atillay/doctrine2/hooks","issue_events_url":"https://api.github.com/repos/atillay/doctrine2/issues/events{/number}","events_url":"https://api.github.com/repos/atillay/doctrine2/events","assignees_url":"https://api.github.com/repos/atillay/doctrine2/assignees{/user}","branches_url":"https://api.github.com/repos/atillay/doctrine2/branches{/branch}","tags_url":"https://api.github.com/repos/atillay/doctrine2/tags","blobs_url":"https://api.github.com/repos/atillay/doctrine2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atillay/doctrine2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atillay/doctrine2/git/refs{/sha}","trees_url":"https://api.github.com/repos/atillay/doctrine2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atillay/doctrine2/statuses/{sha}","languages_url":"https://api.github.com/repos/atillay/doctrine2/languages","stargazers_url":"https://api.github.com/repos/atillay/doctrine2/stargazers","contributors_url":"https://api.github.com/repos/atillay/doctrine2/contributors","subscribers_url":"https://api.github.com/repos/atillay/doctrine2/subscribers","subscription_url":"https://api.github.com/repos/atillay/doctrine2/subscription","commits_url":"https://api.github.com/repos/atillay/doctrine2/commits{/sha}","git_commits_url":"https://api.github.com/repos/atillay/doctrine2/git/commits{/sha}","comments_url":"https://api.github.com/repos/atillay/doctrine2/comments{/number}","issue_comment_url":"https://api.github.com/repos/atillay/doctrine2/issues/comments{/number}","contents_url":"https://api.github.com/repos/atillay/doctrine2/contents/{+path}","compare_url":"https://api.github.com/repos/atillay/doctrine2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atillay/doctrine2/merges","archive_url":"https://api.github.com/repos/atillay/doctrine2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atillay/doctrine2/downloads","issues_url":"https://api.github.com/repos/atillay/doctrine2/issues{/number}","pulls_url":"https://api.github.com/repos/atillay/doctrine2/pulls{/number}","milestones_url":"https://api.github.com/repos/atillay/doctrine2/milestones{/number}","notifications_url":"https://api.github.com/repos/atillay/doctrine2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atillay/doctrine2/labels{/name}","releases_url":"https://api.github.com/repos/atillay/doctrine2/releases{/id}","deployments_url":"https://api.github.com/repos/atillay/doctrine2/deployments","created_at":"2018-05-12T17:29:59Z","updated_at":"2018-05-12T17:30:05Z","pushed_at":"2018-05-12T18:08:34Z","git_url":"git://github.com/atillay/doctrine2.git","ssh_url":"git@github.com:atillay/doctrine2.git","clone_url":"https://github.com/atillay/doctrine2.git","svn_url":"https://github.com/atillay/doctrine2","homepage":"http://www.doctrine-project.org","size":35446,"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":"doctrine:master","ref":"master","sha":"347e33e3458cd38457882fb011a3781d5e41b511","user":{"login":"doctrine","id":209254,"avatar_url":"https://avatars3.githubusercontent.com/u/209254?v=4","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"repo":{"id":597887,"name":"doctrine2","full_name":"doctrine/doctrine2","owner":{"login":"doctrine","id":209254,"avatar_url":"https://avatars3.githubusercontent.com/u/209254?v=4","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/doctrine/doctrine2","description":"Doctrine 2 Object Relational Mapper (ORM)","fork":false,"url":"https://api.github.com/repos/doctrine/doctrine2","forks_url":"https://api.github.com/repos/doctrine/doctrine2/forks","keys_url":"https://api.github.com/repos/doctrine/doctrine2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doctrine/doctrine2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doctrine/doctrine2/teams","hooks_url":"https://api.github.com/repos/doctrine/doctrine2/hooks","issue_events_url":"https://api.github.com/repos/doctrine/doctrine2/issues/events{/number}","events_url":"https://api.github.com/repos/doctrine/doctrine2/events","assignees_url":"https://api.github.com/repos/doctrine/doctrine2/assignees{/user}","branches_url":"https://api.github.com/repos/doctrine/doctrine2/branches{/branch}","tags_url":"https://api.github.com/repos/doctrine/doctrine2/tags","blobs_url":"https://api.github.com/repos/doctrine/doctrine2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doctrine/doctrine2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doctrine/doctrine2/git/refs{/sha}","trees_url":"https://api.github.com/repos/doctrine/doctrine2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doctrine/doctrine2/statuses/{sha}","languages_url":"https://api.github.com/repos/doctrine/doctrine2/languages","stargazers_url":"https://api.github.com/repos/doctrine/doctrine2/stargazers","contributors_url":"https://api.github.com/repos/doctrine/doctrine2/contributors","subscribers_url":"https://api.github.com/repos/doctrine/doctrine2/subscribers","subscription_url":"https://api.github.com/repos/doctrine/doctrine2/subscription","commits_url":"https://api.github.com/repos/doctrine/doctrine2/commits{/sha}","git_commits_url":"https://api.github.com/repos/doctrine/doctrine2/git/commits{/sha}","comments_url":"https://api.github.com/repos/doctrine/doctrine2/comments{/number}","issue_comment_url":"https://api.github.com/repos/doctrine/doctrine2/issues/comments{/number}","contents_url":"https://api.github.com/repos/doctrine/doctrine2/contents/{+path}","compare_url":"https://api.github.com/repos/doctrine/doctrine2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doctrine/doctrine2/merges","archive_url":"https://api.github.com/repos/doctrine/doctrine2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doctrine/doctrine2/downloads","issues_url":"https://api.github.com/repos/doctrine/doctrine2/issues{/number}","pulls_url":"https://api.github.com/repos/doctrine/doctrine2/pulls{/number}","milestones_url":"https://api.github.com/repos/doctrine/doctrine2/milestones{/number}","notifications_url":"https://api.github.com/repos/doctrine/doctrine2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doctrine/doctrine2/labels{/name}","releases_url":"https://api.github.com/repos/doctrine/doctrine2/releases{/id}","deployments_url":"https://api.github.com/repos/doctrine/doctrine2/deployments","created_at":"2010-04-06T21:42:59Z","updated_at":"2018-05-19T17:41:58Z","pushed_at":"2018-05-19T10:43:26Z","git_url":"git://github.com/doctrine/doctrine2.git","ssh_url":"git@github.com:doctrine/doctrine2.git","clone_url":"https://github.com/doctrine/doctrine2.git","svn_url":"https://github.com/doctrine/doctrine2","homepage":"http://www.doctrine-project.org","size":35492,"stargazers_count":4775,"watchers_count":4775,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1964,"mirror_url":null,"archived":false,"open_issues_count":1167,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1964,"open_issues":1167,"watchers":4775,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/doctrine/doctrine2/pulls/7222"},"html":{"href":"https://github.com/doctrine/doctrine2/pull/7222"},"issue":{"href":"https://api.github.com/repos/doctrine/doctrine2/issues/7222"},"comments":{"href":"https://api.github.com/repos/doctrine/doctrine2/issues/7222/comments"},"review_comments":{"href":"https://api.github.com/repos/doctrine/doctrine2/pulls/7222/comments"},"review_comment":{"href":"https://api.github.com/repos/doctrine/doctrine2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/doctrine/doctrine2/pulls/7222/commits"},"statuses":{"href":"https://api.github.com/repos/doctrine/doctrine2/statuses/68516117bc541b0793dc16d98231a90e1519289e"}},"author_association":"NONE"}}
{"actor":{"display_login":"Majkl578"}}