{"action":"opened","number":8126,"pull_request":{"url":"https://api.github.com/repos/cakephp/cakephp/pulls/8126","id":57568553,"html_url":"https://github.com/cakephp/cakephp/pull/8126","diff_url":"https://github.com/cakephp/cakephp/pull/8126.diff","patch_url":"https://github.com/cakephp/cakephp/pull/8126.patch","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/8126","number":8126,"state":"open","locked":false,"title":"Phpdoc fixes","user":{"login":"garas","id":2265694,"avatar_url":"https://avatars.githubusercontent.com/u/2265694?v=3","gravatar_id":"","url":"https://api.github.com/users/garas","html_url":"https://github.com/garas","followers_url":"https://api.github.com/users/garas/followers","following_url":"https://api.github.com/users/garas/following{/other_user}","gists_url":"https://api.github.com/users/garas/gists{/gist_id}","starred_url":"https://api.github.com/users/garas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garas/subscriptions","organizations_url":"https://api.github.com/users/garas/orgs","repos_url":"https://api.github.com/users/garas/repos","events_url":"https://api.github.com/users/garas/events{/privacy}","received_events_url":"https://api.github.com/users/garas/received_events","type":"User","site_admin":false},"body":"Replace `@return $this` to `return @self` as recommended by PhpDoc. This fixes chained method calls in PHPStorm and possible other IDEs.\r\n\r\nAlso update `array` to `ClassName[]` where possible, this also helps to autocomplete.\r\n\r\nUpdate few incorrect datatypes.","created_at":"2016-01-28T21:26:46Z","updated_at":"2016-01-28T21:26:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cakephp/cakephp/pulls/8126/commits","review_comments_url":"https://api.github.com/repos/cakephp/cakephp/pulls/8126/comments","review_comment_url":"https://api.github.com/repos/cakephp/cakephp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/8126/comments","statuses_url":"https://api.github.com/repos/cakephp/cakephp/statuses/6e54a7391cfc81959d6accee9fb794367e1b4b55","head":{"label":"garas:phpdoc-fixes","ref":"phpdoc-fixes","sha":"6e54a7391cfc81959d6accee9fb794367e1b4b55","user":{"login":"garas","id":2265694,"avatar_url":"https://avatars.githubusercontent.com/u/2265694?v=3","gravatar_id":"","url":"https://api.github.com/users/garas","html_url":"https://github.com/garas","followers_url":"https://api.github.com/users/garas/followers","following_url":"https://api.github.com/users/garas/following{/other_user}","gists_url":"https://api.github.com/users/garas/gists{/gist_id}","starred_url":"https://api.github.com/users/garas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garas/subscriptions","organizations_url":"https://api.github.com/users/garas/orgs","repos_url":"https://api.github.com/users/garas/repos","events_url":"https://api.github.com/users/garas/events{/privacy}","received_events_url":"https://api.github.com/users/garas/received_events","type":"User","site_admin":false},"repo":{"id":8201854,"name":"cakephp","full_name":"garas/cakephp","owner":{"login":"garas","id":2265694,"avatar_url":"https://avatars.githubusercontent.com/u/2265694?v=3","gravatar_id":"","url":"https://api.github.com/users/garas","html_url":"https://github.com/garas","followers_url":"https://api.github.com/users/garas/followers","following_url":"https://api.github.com/users/garas/following{/other_user}","gists_url":"https://api.github.com/users/garas/gists{/gist_id}","starred_url":"https://api.github.com/users/garas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garas/subscriptions","organizations_url":"https://api.github.com/users/garas/orgs","repos_url":"https://api.github.com/users/garas/repos","events_url":"https://api.github.com/users/garas/events{/privacy}","received_events_url":"https://api.github.com/users/garas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/garas/cakephp","description":"CakePHP: The Rapid Development Framework for PHP - Official Repository","fork":true,"url":"https://api.github.com/repos/garas/cakephp","forks_url":"https://api.github.com/repos/garas/cakephp/forks","keys_url":"https://api.github.com/repos/garas/cakephp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/garas/cakephp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/garas/cakephp/teams","hooks_url":"https://api.github.com/repos/garas/cakephp/hooks","issue_events_url":"https://api.github.com/repos/garas/cakephp/issues/events{/number}","events_url":"https://api.github.com/repos/garas/cakephp/events","assignees_url":"https://api.github.com/repos/garas/cakephp/assignees{/user}","branches_url":"https://api.github.com/repos/garas/cakephp/branches{/branch}","tags_url":"https://api.github.com/repos/garas/cakephp/tags","blobs_url":"https://api.github.com/repos/garas/cakephp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/garas/cakephp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/garas/cakephp/git/refs{/sha}","trees_url":"https://api.github.com/repos/garas/cakephp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/garas/cakephp/statuses/{sha}","languages_url":"https://api.github.com/repos/garas/cakephp/languages","stargazers_url":"https://api.github.com/repos/garas/cakephp/stargazers","contributors_url":"https://api.github.com/repos/garas/cakephp/contributors","subscribers_url":"https://api.github.com/repos/garas/cakephp/subscribers","subscription_url":"https://api.github.com/repos/garas/cakephp/subscription","commits_url":"https://api.github.com/repos/garas/cakephp/commits{/sha}","git_commits_url":"https://api.github.com/repos/garas/cakephp/git/commits{/sha}","comments_url":"https://api.github.com/repos/garas/cakephp/comments{/number}","issue_comment_url":"https://api.github.com/repos/garas/cakephp/issues/comments{/number}","contents_url":"https://api.github.com/repos/garas/cakephp/contents/{+path}","compare_url":"https://api.github.com/repos/garas/cakephp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/garas/cakephp/merges","archive_url":"https://api.github.com/repos/garas/cakephp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/garas/cakephp/downloads","issues_url":"https://api.github.com/repos/garas/cakephp/issues{/number}","pulls_url":"https://api.github.com/repos/garas/cakephp/pulls{/number}","milestones_url":"https://api.github.com/repos/garas/cakephp/milestones{/number}","notifications_url":"https://api.github.com/repos/garas/cakephp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/garas/cakephp/labels{/name}","releases_url":"https://api.github.com/repos/garas/cakephp/releases{/id}","deployments_url":"https://api.github.com/repos/garas/cakephp/deployments","created_at":"2013-02-14T15:25:32Z","updated_at":"2015-03-18T09:37:58Z","pushed_at":"2016-01-28T21:11:12Z","git_url":"git://github.com/garas/cakephp.git","ssh_url":"git@github.com:garas/cakephp.git","clone_url":"https://github.com/garas/cakephp.git","svn_url":"https://github.com/garas/cakephp","homepage":"http://cakephp.org","size":34874,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"cakephp:2.7","ref":"2.7","sha":"a890d7699078ea19d0b70b89c395f3e9130e3aa0","user":{"login":"cakephp","id":23666,"avatar_url":"https://avatars.githubusercontent.com/u/23666?v=3","gravatar_id":"","url":"https://api.github.com/users/cakephp","html_url":"https://github.com/cakephp","followers_url":"https://api.github.com/users/cakephp/followers","following_url":"https://api.github.com/users/cakephp/following{/other_user}","gists_url":"https://api.github.com/users/cakephp/gists{/gist_id}","starred_url":"https://api.github.com/users/cakephp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakephp/subscriptions","organizations_url":"https://api.github.com/users/cakephp/orgs","repos_url":"https://api.github.com/users/cakephp/repos","events_url":"https://api.github.com/users/cakephp/events{/privacy}","received_events_url":"https://api.github.com/users/cakephp/received_events","type":"Organization","site_admin":false},"repo":{"id":656494,"name":"cakephp","full_name":"cakephp/cakephp","owner":{"login":"cakephp","id":23666,"avatar_url":"https://avatars.githubusercontent.com/u/23666?v=3","gravatar_id":"","url":"https://api.github.com/users/cakephp","html_url":"https://github.com/cakephp","followers_url":"https://api.github.com/users/cakephp/followers","following_url":"https://api.github.com/users/cakephp/following{/other_user}","gists_url":"https://api.github.com/users/cakephp/gists{/gist_id}","starred_url":"https://api.github.com/users/cakephp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakephp/subscriptions","organizations_url":"https://api.github.com/users/cakephp/orgs","repos_url":"https://api.github.com/users/cakephp/repos","events_url":"https://api.github.com/users/cakephp/events{/privacy}","received_events_url":"https://api.github.com/users/cakephp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cakephp/cakephp","description":"CakePHP: The Rapid Development Framework for PHP - Official Repository","fork":false,"url":"https://api.github.com/repos/cakephp/cakephp","forks_url":"https://api.github.com/repos/cakephp/cakephp/forks","keys_url":"https://api.github.com/repos/cakephp/cakephp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cakephp/cakephp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cakephp/cakephp/teams","hooks_url":"https://api.github.com/repos/cakephp/cakephp/hooks","issue_events_url":"https://api.github.com/repos/cakephp/cakephp/issues/events{/number}","events_url":"https://api.github.com/repos/cakephp/cakephp/events","assignees_url":"https://api.github.com/repos/cakephp/cakephp/assignees{/user}","branches_url":"https://api.github.com/repos/cakephp/cakephp/branches{/branch}","tags_url":"https://api.github.com/repos/cakephp/cakephp/tags","blobs_url":"https://api.github.com/repos/cakephp/cakephp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cakephp/cakephp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cakephp/cakephp/git/refs{/sha}","trees_url":"https://api.github.com/repos/cakephp/cakephp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cakephp/cakephp/statuses/{sha}","languages_url":"https://api.github.com/repos/cakephp/cakephp/languages","stargazers_url":"https://api.github.com/repos/cakephp/cakephp/stargazers","contributors_url":"https://api.github.com/repos/cakephp/cakephp/contributors","subscribers_url":"https://api.github.com/repos/cakephp/cakephp/subscribers","subscription_url":"https://api.github.com/repos/cakephp/cakephp/subscription","commits_url":"https://api.github.com/repos/cakephp/cakephp/commits{/sha}","git_commits_url":"https://api.github.com/repos/cakephp/cakephp/git/commits{/sha}","comments_url":"https://api.github.com/repos/cakephp/cakephp/comments{/number}","issue_comment_url":"https://api.github.com/repos/cakephp/cakephp/issues/comments{/number}","contents_url":"https://api.github.com/repos/cakephp/cakephp/contents/{+path}","compare_url":"https://api.github.com/repos/cakephp/cakephp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cakephp/cakephp/merges","archive_url":"https://api.github.com/repos/cakephp/cakephp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cakephp/cakephp/downloads","issues_url":"https://api.github.com/repos/cakephp/cakephp/issues{/number}","pulls_url":"https://api.github.com/repos/cakephp/cakephp/pulls{/number}","milestones_url":"https://api.github.com/repos/cakephp/cakephp/milestones{/number}","notifications_url":"https://api.github.com/repos/cakephp/cakephp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cakephp/cakephp/labels{/name}","releases_url":"https://api.github.com/repos/cakephp/cakephp/releases{/id}","deployments_url":"https://api.github.com/repos/cakephp/cakephp/deployments","created_at":"2010-05-08T14:38:22Z","updated_at":"2016-01-28T18:56:58Z","pushed_at":"2016-01-28T21:26:46Z","git_url":"git://github.com/cakephp/cakephp.git","ssh_url":"git@github.com:cakephp/cakephp.git","clone_url":"https://github.com/cakephp/cakephp.git","svn_url":"https://github.com/cakephp/cakephp","homepage":"http://cakephp.org","size":99669,"stargazers_count":6254,"watchers_count":6254,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2866,"mirror_url":null,"open_issues_count":187,"forks":2866,"open_issues":187,"watchers":6254,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/8126"},"html":{"href":"https://github.com/cakephp/cakephp/pull/8126"},"issue":{"href":"https://api.github.com/repos/cakephp/cakephp/issues/8126"},"comments":{"href":"https://api.github.com/repos/cakephp/cakephp/issues/8126/comments"},"review_comments":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/8126/comments"},"review_comment":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/8126/commits"},"statuses":{"href":"https://api.github.com/repos/cakephp/cakephp/statuses/6e54a7391cfc81959d6accee9fb794367e1b4b55"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":63,"deletions":61,"changed_files":12}}