{"action":"opened","issue":{"url":"https://api.github.com/repos/phpactor/phpactor/issues/621","repository_url":"https://api.github.com/repos/phpactor/phpactor","labels_url":"https://api.github.com/repos/phpactor/phpactor/issues/621/labels{/name}","comments_url":"https://api.github.com/repos/phpactor/phpactor/issues/621/comments","events_url":"https://api.github.com/repos/phpactor/phpactor/issues/621/events","html_url":"https://github.com/phpactor/phpactor/issues/621","id":375906173,"node_id":"MDU6SXNzdWUzNzU5MDYxNzM=","number":621,"title":"Support Variadic arguments","user":{"login":"Taluu","id":239685,"node_id":"MDQ6VXNlcjIzOTY4NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/239685?v=4","gravatar_id":"","url":"https://api.github.com/users/Taluu","html_url":"https://github.com/Taluu","followers_url":"https://api.github.com/users/Taluu/followers","following_url":"https://api.github.com/users/Taluu/following{/other_user}","gists_url":"https://api.github.com/users/Taluu/gists{/gist_id}","starred_url":"https://api.github.com/users/Taluu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taluu/subscriptions","organizations_url":"https://api.github.com/users/Taluu/orgs","repos_url":"https://api.github.com/users/Taluu/repos","events_url":"https://api.github.com/users/Taluu/events{/privacy}","received_events_url":"https://api.github.com/users/Taluu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-31T10:58:17Z","updated_at":"2018-10-31T10:58:17Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"With the following piece of code :\r\n\r\n```php\r\n<?php\r\n\r\nfunction (Foo ...$foos): void \r\n{\r\n    foreach ($foos as $foo) {\r\n    }\r\n}\r\n```\r\n\r\n`$foo` is not recognized as an array of `Foo`s, but `unknown`. We have to add the `/** @var Foo $foo */` in top of the foreach for that.\r\n\r\nHaving that would be great. :}"}}
{"actor":{"display_login":"Taluu"}}