{"action":"opened","number":839,"pull_request":{"url":"https://api.github.com/repos/Intervention/image/pulls/839","id":180155224,"html_url":"https://github.com/Intervention/image/pull/839","diff_url":"https://github.com/Intervention/image/pull/839.diff","patch_url":"https://github.com/Intervention/image/pull/839.patch","issue_url":"https://api.github.com/repos/Intervention/image/issues/839","number":839,"state":"open","locked":false,"title":"Fixed the type hints in the phpDoc blocks","user":{"login":"FinesseRus","id":9006227,"avatar_url":"https://avatars3.githubusercontent.com/u/9006227?v=4","gravatar_id":"","url":"https://api.github.com/users/FinesseRus","html_url":"https://github.com/FinesseRus","followers_url":"https://api.github.com/users/FinesseRus/followers","following_url":"https://api.github.com/users/FinesseRus/following{/other_user}","gists_url":"https://api.github.com/users/FinesseRus/gists{/gist_id}","starred_url":"https://api.github.com/users/FinesseRus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinesseRus/subscriptions","organizations_url":"https://api.github.com/users/FinesseRus/orgs","repos_url":"https://api.github.com/users/FinesseRus/repos","events_url":"https://api.github.com/users/FinesseRus/events{/privacy}","received_events_url":"https://api.github.com/users/FinesseRus/received_events","type":"User","site_admin":false},"body":"IDEs like PhpStorm emit warnings in some methods:\r\n\r\n![2018-04-08 20 47 47](https://user-images.githubusercontent.com/9006227/38466953-894a18ac-3b74-11e8-87ec-80577a2a4606.png)\r\n\r\nIt happens because there is no type `integer` in PHP, you can't set the `integer` type to a function argument:\r\n\r\n![2018-04-08 20 49 12](https://user-images.githubusercontent.com/9006227/38466960-a43e498a-3b74-11e8-8c7c-5ee3235e34c2.png)\r\n \r\nI replaced all the `integer` types with `int` so IDEs don't produce produce such warnings anymore.\r\n","created_at":"2018-04-08T11:37:00Z","updated_at":"2018-04-08T11:37:00Z","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/Intervention/image/pulls/839/commits","review_comments_url":"https://api.github.com/repos/Intervention/image/pulls/839/comments","review_comment_url":"https://api.github.com/repos/Intervention/image/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Intervention/image/issues/839/comments","statuses_url":"https://api.github.com/repos/Intervention/image/statuses/f55e6acf4be5645f133216ca1442714d04ffbae8","head":{"label":"FinesseRus:phpdoc-types-fix","ref":"phpdoc-types-fix","sha":"f55e6acf4be5645f133216ca1442714d04ffbae8","user":{"login":"FinesseRus","id":9006227,"avatar_url":"https://avatars3.githubusercontent.com/u/9006227?v=4","gravatar_id":"","url":"https://api.github.com/users/FinesseRus","html_url":"https://github.com/FinesseRus","followers_url":"https://api.github.com/users/FinesseRus/followers","following_url":"https://api.github.com/users/FinesseRus/following{/other_user}","gists_url":"https://api.github.com/users/FinesseRus/gists{/gist_id}","starred_url":"https://api.github.com/users/FinesseRus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinesseRus/subscriptions","organizations_url":"https://api.github.com/users/FinesseRus/orgs","repos_url":"https://api.github.com/users/FinesseRus/repos","events_url":"https://api.github.com/users/FinesseRus/events{/privacy}","received_events_url":"https://api.github.com/users/FinesseRus/received_events","type":"User","site_admin":false},"repo":{"id":128630815,"name":"image","full_name":"FinesseRus/image","owner":{"login":"FinesseRus","id":9006227,"avatar_url":"https://avatars3.githubusercontent.com/u/9006227?v=4","gravatar_id":"","url":"https://api.github.com/users/FinesseRus","html_url":"https://github.com/FinesseRus","followers_url":"https://api.github.com/users/FinesseRus/followers","following_url":"https://api.github.com/users/FinesseRus/following{/other_user}","gists_url":"https://api.github.com/users/FinesseRus/gists{/gist_id}","starred_url":"https://api.github.com/users/FinesseRus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FinesseRus/subscriptions","organizations_url":"https://api.github.com/users/FinesseRus/orgs","repos_url":"https://api.github.com/users/FinesseRus/repos","events_url":"https://api.github.com/users/FinesseRus/events{/privacy}","received_events_url":"https://api.github.com/users/FinesseRus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FinesseRus/image","description":"PHP Image Manipulation","fork":true,"url":"https://api.github.com/repos/FinesseRus/image","forks_url":"https://api.github.com/repos/FinesseRus/image/forks","keys_url":"https://api.github.com/repos/FinesseRus/image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FinesseRus/image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FinesseRus/image/teams","hooks_url":"https://api.github.com/repos/FinesseRus/image/hooks","issue_events_url":"https://api.github.com/repos/FinesseRus/image/issues/events{/number}","events_url":"https://api.github.com/repos/FinesseRus/image/events","assignees_url":"https://api.github.com/repos/FinesseRus/image/assignees{/user}","branches_url":"https://api.github.com/repos/FinesseRus/image/branches{/branch}","tags_url":"https://api.github.com/repos/FinesseRus/image/tags","blobs_url":"https://api.github.com/repos/FinesseRus/image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FinesseRus/image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FinesseRus/image/git/refs{/sha}","trees_url":"https://api.github.com/repos/FinesseRus/image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FinesseRus/image/statuses/{sha}","languages_url":"https://api.github.com/repos/FinesseRus/image/languages","stargazers_url":"https://api.github.com/repos/FinesseRus/image/stargazers","contributors_url":"https://api.github.com/repos/FinesseRus/image/contributors","subscribers_url":"https://api.github.com/repos/FinesseRus/image/subscribers","subscription_url":"https://api.github.com/repos/FinesseRus/image/subscription","commits_url":"https://api.github.com/repos/FinesseRus/image/commits{/sha}","git_commits_url":"https://api.github.com/repos/FinesseRus/image/git/commits{/sha}","comments_url":"https://api.github.com/repos/FinesseRus/image/comments{/number}","issue_comment_url":"https://api.github.com/repos/FinesseRus/image/issues/comments{/number}","contents_url":"https://api.github.com/repos/FinesseRus/image/contents/{+path}","compare_url":"https://api.github.com/repos/FinesseRus/image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FinesseRus/image/merges","archive_url":"https://api.github.com/repos/FinesseRus/image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FinesseRus/image/downloads","issues_url":"https://api.github.com/repos/FinesseRus/image/issues{/number}","pulls_url":"https://api.github.com/repos/FinesseRus/image/pulls{/number}","milestones_url":"https://api.github.com/repos/FinesseRus/image/milestones{/number}","notifications_url":"https://api.github.com/repos/FinesseRus/image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FinesseRus/image/labels{/name}","releases_url":"https://api.github.com/repos/FinesseRus/image/releases{/id}","deployments_url":"https://api.github.com/repos/FinesseRus/image/deployments","created_at":"2018-04-08T10:45:22Z","updated_at":"2018-04-08T10:45:25Z","pushed_at":"2018-04-08T11:31:57Z","git_url":"git://github.com/FinesseRus/image.git","ssh_url":"git@github.com:FinesseRus/image.git","clone_url":"https://github.com/FinesseRus/image.git","svn_url":"https://github.com/FinesseRus/image","homepage":"http://image.intervention.io","size":1027,"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":"Intervention:master","ref":"master","sha":"a54d1e9e6af2815c5ec24972d1d9209c677ce452","user":{"login":"Intervention","id":3258272,"avatar_url":"https://avatars0.githubusercontent.com/u/3258272?v=4","gravatar_id":"","url":"https://api.github.com/users/Intervention","html_url":"https://github.com/Intervention","followers_url":"https://api.github.com/users/Intervention/followers","following_url":"https://api.github.com/users/Intervention/following{/other_user}","gists_url":"https://api.github.com/users/Intervention/gists{/gist_id}","starred_url":"https://api.github.com/users/Intervention/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Intervention/subscriptions","organizations_url":"https://api.github.com/users/Intervention/orgs","repos_url":"https://api.github.com/users/Intervention/repos","events_url":"https://api.github.com/users/Intervention/events{/privacy}","received_events_url":"https://api.github.com/users/Intervention/received_events","type":"Organization","site_admin":false},"repo":{"id":7704544,"name":"image","full_name":"Intervention/image","owner":{"login":"Intervention","id":3258272,"avatar_url":"https://avatars0.githubusercontent.com/u/3258272?v=4","gravatar_id":"","url":"https://api.github.com/users/Intervention","html_url":"https://github.com/Intervention","followers_url":"https://api.github.com/users/Intervention/followers","following_url":"https://api.github.com/users/Intervention/following{/other_user}","gists_url":"https://api.github.com/users/Intervention/gists{/gist_id}","starred_url":"https://api.github.com/users/Intervention/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Intervention/subscriptions","organizations_url":"https://api.github.com/users/Intervention/orgs","repos_url":"https://api.github.com/users/Intervention/repos","events_url":"https://api.github.com/users/Intervention/events{/privacy}","received_events_url":"https://api.github.com/users/Intervention/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Intervention/image","description":"PHP Image Manipulation","fork":false,"url":"https://api.github.com/repos/Intervention/image","forks_url":"https://api.github.com/repos/Intervention/image/forks","keys_url":"https://api.github.com/repos/Intervention/image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Intervention/image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Intervention/image/teams","hooks_url":"https://api.github.com/repos/Intervention/image/hooks","issue_events_url":"https://api.github.com/repos/Intervention/image/issues/events{/number}","events_url":"https://api.github.com/repos/Intervention/image/events","assignees_url":"https://api.github.com/repos/Intervention/image/assignees{/user}","branches_url":"https://api.github.com/repos/Intervention/image/branches{/branch}","tags_url":"https://api.github.com/repos/Intervention/image/tags","blobs_url":"https://api.github.com/repos/Intervention/image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Intervention/image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Intervention/image/git/refs{/sha}","trees_url":"https://api.github.com/repos/Intervention/image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Intervention/image/statuses/{sha}","languages_url":"https://api.github.com/repos/Intervention/image/languages","stargazers_url":"https://api.github.com/repos/Intervention/image/stargazers","contributors_url":"https://api.github.com/repos/Intervention/image/contributors","subscribers_url":"https://api.github.com/repos/Intervention/image/subscribers","subscription_url":"https://api.github.com/repos/Intervention/image/subscription","commits_url":"https://api.github.com/repos/Intervention/image/commits{/sha}","git_commits_url":"https://api.github.com/repos/Intervention/image/git/commits{/sha}","comments_url":"https://api.github.com/repos/Intervention/image/comments{/number}","issue_comment_url":"https://api.github.com/repos/Intervention/image/issues/comments{/number}","contents_url":"https://api.github.com/repos/Intervention/image/contents/{+path}","compare_url":"https://api.github.com/repos/Intervention/image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Intervention/image/merges","archive_url":"https://api.github.com/repos/Intervention/image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Intervention/image/downloads","issues_url":"https://api.github.com/repos/Intervention/image/issues{/number}","pulls_url":"https://api.github.com/repos/Intervention/image/pulls{/number}","milestones_url":"https://api.github.com/repos/Intervention/image/milestones{/number}","notifications_url":"https://api.github.com/repos/Intervention/image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Intervention/image/labels{/name}","releases_url":"https://api.github.com/repos/Intervention/image/releases{/id}","deployments_url":"https://api.github.com/repos/Intervention/image/deployments","created_at":"2013-01-19T15:05:32Z","updated_at":"2018-04-08T10:24:02Z","pushed_at":"2018-03-16T12:41:25Z","git_url":"git://github.com/Intervention/image.git","ssh_url":"git@github.com:Intervention/image.git","clone_url":"https://github.com/Intervention/image.git","svn_url":"https://github.com/Intervention/image","homepage":"http://image.intervention.io","size":1027,"stargazers_count":6892,"watchers_count":6892,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":894,"mirror_url":null,"archived":false,"open_issues_count":194,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":894,"open_issues":194,"watchers":6892,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Intervention/image/pulls/839"},"html":{"href":"https://github.com/Intervention/image/pull/839"},"issue":{"href":"https://api.github.com/repos/Intervention/image/issues/839"},"comments":{"href":"https://api.github.com/repos/Intervention/image/issues/839/comments"},"review_comments":{"href":"https://api.github.com/repos/Intervention/image/pulls/839/comments"},"review_comment":{"href":"https://api.github.com/repos/Intervention/image/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Intervention/image/pulls/839/commits"},"statuses":{"href":"https://api.github.com/repos/Intervention/image/statuses/f55e6acf4be5645f133216ca1442714d04ffbae8"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":208,"deletions":208,"changed_files":32}}
{"actor":{"display_login":"FinesseRus"}}