{"action":"opened","issue":{"url":"https://api.github.com/repos/phpstan/phpstan/issues/1139","repository_url":"https://api.github.com/repos/phpstan/phpstan","labels_url":"https://api.github.com/repos/phpstan/phpstan/issues/1139/labels{/name}","comments_url":"https://api.github.com/repos/phpstan/phpstan/issues/1139/comments","events_url":"https://api.github.com/repos/phpstan/phpstan/issues/1139/events","html_url":"https://github.com/phpstan/phpstan/issues/1139","id":337067293,"node_id":"MDU6SXNzdWUzMzcwNjcyOTM=","number":1139,"title":"False type check involving \\IteratorAggregate","user":{"login":"Tobion","id":610090,"node_id":"MDQ6VXNlcjYxMDA5MA==","avatar_url":"https://avatars3.githubusercontent.com/u/610090?v=4","gravatar_id":"","url":"https://api.github.com/users/Tobion","html_url":"https://github.com/Tobion","followers_url":"https://api.github.com/users/Tobion/followers","following_url":"https://api.github.com/users/Tobion/following{/other_user}","gists_url":"https://api.github.com/users/Tobion/gists{/gist_id}","starred_url":"https://api.github.com/users/Tobion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tobion/subscriptions","organizations_url":"https://api.github.com/users/Tobion/orgs","repos_url":"https://api.github.com/users/Tobion/repos","events_url":"https://api.github.com/users/Tobion/events{/privacy}","received_events_url":"https://api.github.com/users/Tobion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-29T16:47:54Z","updated_at":"2018-06-29T16:47:54Z","closed_at":null,"author_association":"NONE","body":"<!-- Before reporting an issue please check that you are using the latest PHPStan version! -->\r\n\r\n### Summary of a problem or a feature request\r\n\r\nphpstan seems to think that \\IteratorAggregate implements \\Iterator.\r\nBut it only implements Traversable.\r\n\r\n\r\n### Code snippet that reproduces the problem\r\n\r\nhttps://phpstan.org/r/44c41af0f0507f5944c20c6f37a94dcb\r\n\r\n\r\n### Expected output\r\n\r\nThe above code is valid and phpstan reports false positives."}}
{"actor":{"display_login":"Tobion"}}