{"action":"closed","number":51,"pull_request":{"url":"https://api.github.com/repos/nette/utils/pulls/51","id":27128910,"html_url":"https://github.com/nette/utils/pull/51","diff_url":"https://github.com/nette/utils/pull/51.diff","patch_url":"https://github.com/nette/utils/pull/51.patch","issue_url":"https://api.github.com/repos/nette/utils/issues/51","number":51,"state":"closed","locked":false,"title":"Arrays.php: Remove unneccessary is_array() call","user":{"login":"Kubo2","id":6882599,"avatar_url":"https://avatars.githubusercontent.com/u/6882599?v=3","gravatar_id":"","url":"https://api.github.com/users/Kubo2","html_url":"https://github.com/Kubo2","followers_url":"https://api.github.com/users/Kubo2/followers","following_url":"https://api.github.com/users/Kubo2/following{/other_user}","gists_url":"https://api.github.com/users/Kubo2/gists{/gist_id}","starred_url":"https://api.github.com/users/Kubo2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kubo2/subscriptions","organizations_url":"https://api.github.com/users/Kubo2/orgs","repos_url":"https://api.github.com/users/Kubo2/repos","events_url":"https://api.github.com/users/Kubo2/events{/privacy}","received_events_url":"https://api.github.com/users/Kubo2/received_events","type":"User","site_admin":false},"body":"We don't need to check if argument for `$arr` parameter `is_array()`, because there's a type hint for the formal parameter above in method definition.","created_at":"2015-01-09T21:02:03Z","updated_at":"2015-01-09T21:25:50Z","closed_at":"2015-01-09T21:25:50Z","merged_at":null,"merge_commit_sha":"c390d1f6170692ae5520d93c6eab71f47f76ee1c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nette/utils/pulls/51/commits","review_comments_url":"https://api.github.com/repos/nette/utils/pulls/51/comments","review_comment_url":"https://api.github.com/repos/nette/utils/pulls/comments/{number}","comments_url":"https://api.github.com/repos/nette/utils/issues/51/comments","statuses_url":"https://api.github.com/repos/nette/utils/statuses/11c1cb1294b6a98a5f509a6f4905c94c3e706f89","head":{"label":"Kubo2:patch-1","ref":"patch-1","sha":"11c1cb1294b6a98a5f509a6f4905c94c3e706f89","user":{"login":"Kubo2","id":6882599,"avatar_url":"https://avatars.githubusercontent.com/u/6882599?v=3","gravatar_id":"","url":"https://api.github.com/users/Kubo2","html_url":"https://github.com/Kubo2","followers_url":"https://api.github.com/users/Kubo2/followers","following_url":"https://api.github.com/users/Kubo2/following{/other_user}","gists_url":"https://api.github.com/users/Kubo2/gists{/gist_id}","starred_url":"https://api.github.com/users/Kubo2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kubo2/subscriptions","organizations_url":"https://api.github.com/users/Kubo2/orgs","repos_url":"https://api.github.com/users/Kubo2/repos","events_url":"https://api.github.com/users/Kubo2/events{/privacy}","received_events_url":"https://api.github.com/users/Kubo2/received_events","type":"User","site_admin":false},"repo":{"id":29034948,"name":"nette-utils","full_name":"Kubo2/nette-utils","owner":{"login":"Kubo2","id":6882599,"avatar_url":"https://avatars.githubusercontent.com/u/6882599?v=3","gravatar_id":"","url":"https://api.github.com/users/Kubo2","html_url":"https://github.com/Kubo2","followers_url":"https://api.github.com/users/Kubo2/followers","following_url":"https://api.github.com/users/Kubo2/following{/other_user}","gists_url":"https://api.github.com/users/Kubo2/gists{/gist_id}","starred_url":"https://api.github.com/users/Kubo2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kubo2/subscriptions","organizations_url":"https://api.github.com/users/Kubo2/orgs","repos_url":"https://api.github.com/users/Kubo2/repos","events_url":"https://api.github.com/users/Kubo2/events{/privacy}","received_events_url":"https://api.github.com/users/Kubo2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kubo2/nette-utils","description":"Nette Utilities and Core Classes","fork":true,"url":"https://api.github.com/repos/Kubo2/nette-utils","forks_url":"https://api.github.com/repos/Kubo2/nette-utils/forks","keys_url":"https://api.github.com/repos/Kubo2/nette-utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kubo2/nette-utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kubo2/nette-utils/teams","hooks_url":"https://api.github.com/repos/Kubo2/nette-utils/hooks","issue_events_url":"https://api.github.com/repos/Kubo2/nette-utils/issues/events{/number}","events_url":"https://api.github.com/repos/Kubo2/nette-utils/events","assignees_url":"https://api.github.com/repos/Kubo2/nette-utils/assignees{/user}","branches_url":"https://api.github.com/repos/Kubo2/nette-utils/branches{/branch}","tags_url":"https://api.github.com/repos/Kubo2/nette-utils/tags","blobs_url":"https://api.github.com/repos/Kubo2/nette-utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kubo2/nette-utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kubo2/nette-utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kubo2/nette-utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kubo2/nette-utils/statuses/{sha}","languages_url":"https://api.github.com/repos/Kubo2/nette-utils/languages","stargazers_url":"https://api.github.com/repos/Kubo2/nette-utils/stargazers","contributors_url":"https://api.github.com/repos/Kubo2/nette-utils/contributors","subscribers_url":"https://api.github.com/repos/Kubo2/nette-utils/subscribers","subscription_url":"https://api.github.com/repos/Kubo2/nette-utils/subscription","commits_url":"https://api.github.com/repos/Kubo2/nette-utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kubo2/nette-utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kubo2/nette-utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kubo2/nette-utils/issues/comments/{number}","contents_url":"https://api.github.com/repos/Kubo2/nette-utils/contents/{+path}","compare_url":"https://api.github.com/repos/Kubo2/nette-utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kubo2/nette-utils/merges","archive_url":"https://api.github.com/repos/Kubo2/nette-utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kubo2/nette-utils/downloads","issues_url":"https://api.github.com/repos/Kubo2/nette-utils/issues{/number}","pulls_url":"https://api.github.com/repos/Kubo2/nette-utils/pulls{/number}","milestones_url":"https://api.github.com/repos/Kubo2/nette-utils/milestones{/number}","notifications_url":"https://api.github.com/repos/Kubo2/nette-utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kubo2/nette-utils/labels{/name}","releases_url":"https://api.github.com/repos/Kubo2/nette-utils/releases{/id}","created_at":"2015-01-09T20:54:40Z","updated_at":"2015-01-09T20:57:15Z","pushed_at":"2015-01-09T20:56:40Z","git_url":"git://github.com/Kubo2/nette-utils.git","ssh_url":"git@github.com:Kubo2/nette-utils.git","clone_url":"https://github.com/Kubo2/nette-utils.git","svn_url":"https://github.com/Kubo2/nette-utils","homepage":"http://nette.org","size":2619,"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":"nette:v2.2","ref":"v2.2","sha":"063460f08b9ca38b1609a15ed95d18bfaa6e3b90","user":{"login":"nette","id":99965,"avatar_url":"https://avatars.githubusercontent.com/u/99965?v=3","gravatar_id":"","url":"https://api.github.com/users/nette","html_url":"https://github.com/nette","followers_url":"https://api.github.com/users/nette/followers","following_url":"https://api.github.com/users/nette/following{/other_user}","gists_url":"https://api.github.com/users/nette/gists{/gist_id}","starred_url":"https://api.github.com/users/nette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nette/subscriptions","organizations_url":"https://api.github.com/users/nette/orgs","repos_url":"https://api.github.com/users/nette/repos","events_url":"https://api.github.com/users/nette/events{/privacy}","received_events_url":"https://api.github.com/users/nette/received_events","type":"Organization","site_admin":false},"repo":{"id":17838324,"name":"utils","full_name":"nette/utils","owner":{"login":"nette","id":99965,"avatar_url":"https://avatars.githubusercontent.com/u/99965?v=3","gravatar_id":"","url":"https://api.github.com/users/nette","html_url":"https://github.com/nette","followers_url":"https://api.github.com/users/nette/followers","following_url":"https://api.github.com/users/nette/following{/other_user}","gists_url":"https://api.github.com/users/nette/gists{/gist_id}","starred_url":"https://api.github.com/users/nette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nette/subscriptions","organizations_url":"https://api.github.com/users/nette/orgs","repos_url":"https://api.github.com/users/nette/repos","events_url":"https://api.github.com/users/nette/events{/privacy}","received_events_url":"https://api.github.com/users/nette/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nette/utils","description":"Nette Utilities and Core Classes","fork":false,"url":"https://api.github.com/repos/nette/utils","forks_url":"https://api.github.com/repos/nette/utils/forks","keys_url":"https://api.github.com/repos/nette/utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nette/utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nette/utils/teams","hooks_url":"https://api.github.com/repos/nette/utils/hooks","issue_events_url":"https://api.github.com/repos/nette/utils/issues/events{/number}","events_url":"https://api.github.com/repos/nette/utils/events","assignees_url":"https://api.github.com/repos/nette/utils/assignees{/user}","branches_url":"https://api.github.com/repos/nette/utils/branches{/branch}","tags_url":"https://api.github.com/repos/nette/utils/tags","blobs_url":"https://api.github.com/repos/nette/utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nette/utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nette/utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/nette/utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nette/utils/statuses/{sha}","languages_url":"https://api.github.com/repos/nette/utils/languages","stargazers_url":"https://api.github.com/repos/nette/utils/stargazers","contributors_url":"https://api.github.com/repos/nette/utils/contributors","subscribers_url":"https://api.github.com/repos/nette/utils/subscribers","subscription_url":"https://api.github.com/repos/nette/utils/subscription","commits_url":"https://api.github.com/repos/nette/utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/nette/utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/nette/utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/nette/utils/issues/comments/{number}","contents_url":"https://api.github.com/repos/nette/utils/contents/{+path}","compare_url":"https://api.github.com/repos/nette/utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nette/utils/merges","archive_url":"https://api.github.com/repos/nette/utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nette/utils/downloads","issues_url":"https://api.github.com/repos/nette/utils/issues{/number}","pulls_url":"https://api.github.com/repos/nette/utils/pulls{/number}","milestones_url":"https://api.github.com/repos/nette/utils/milestones{/number}","notifications_url":"https://api.github.com/repos/nette/utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nette/utils/labels{/name}","releases_url":"https://api.github.com/repos/nette/utils/releases{/id}","created_at":"2014-03-17T18:14:28Z","updated_at":"2015-01-07T09:34:16Z","pushed_at":"2015-01-07T00:27:12Z","git_url":"git://github.com/nette/utils.git","ssh_url":"git@github.com:nette/utils.git","clone_url":"https://github.com/nette/utils.git","svn_url":"https://github.com/nette/utils","homepage":"http://nette.org","size":2619,"stargazers_count":65,"watchers_count":65,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":15,"forks":26,"open_issues":15,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nette/utils/pulls/51"},"html":{"href":"https://github.com/nette/utils/pull/51"},"issue":{"href":"https://api.github.com/repos/nette/utils/issues/51"},"comments":{"href":"https://api.github.com/repos/nette/utils/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/nette/utils/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/nette/utils/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/nette/utils/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/nette/utils/statuses/11c1cb1294b6a98a5f509a6f4905c94c3e706f89"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}