{"action":"created","issue":{"url":"https://api.github.com/repos/nikic/PHP-Parser/issues/207","labels_url":"https://api.github.com/repos/nikic/PHP-Parser/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/nikic/PHP-Parser/issues/207/comments","events_url":"https://api.github.com/repos/nikic/PHP-Parser/issues/207/events","html_url":"https://github.com/nikic/PHP-Parser/issues/207","id":91602879,"number":207,"title":"Multiple return types","user":{"login":"natebrunette","id":1831497,"avatar_url":"https://avatars.githubusercontent.com/u/1831497?v=3","gravatar_id":"","url":"https://api.github.com/users/natebrunette","html_url":"https://github.com/natebrunette","followers_url":"https://api.github.com/users/natebrunette/followers","following_url":"https://api.github.com/users/natebrunette/following{/other_user}","gists_url":"https://api.github.com/users/natebrunette/gists{/gist_id}","starred_url":"https://api.github.com/users/natebrunette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natebrunette/subscriptions","organizations_url":"https://api.github.com/users/natebrunette/orgs","repos_url":"https://api.github.com/users/natebrunette/repos","events_url":"https://api.github.com/users/natebrunette/events{/privacy}","received_events_url":"https://api.github.com/users/natebrunette/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-06-28T14:01:46Z","updated_at":"2015-06-28T14:19:55Z","closed_at":null,"body":"ClassMethod::$returnType has `Node\\Name[]` as a potential return.  Php 7 does not support multiple return types and should be changed to `Node\\Name`."},"comment":{"url":"https://api.github.com/repos/nikic/PHP-Parser/issues/comments/116286052","html_url":"https://github.com/nikic/PHP-Parser/issues/207#issuecomment-116286052","issue_url":"https://api.github.com/repos/nikic/PHP-Parser/issues/207","id":116286052,"user":{"login":"nikic","id":216080,"avatar_url":"https://avatars.githubusercontent.com/u/216080?v=3","gravatar_id":"","url":"https://api.github.com/users/nikic","html_url":"https://github.com/nikic","followers_url":"https://api.github.com/users/nikic/followers","following_url":"https://api.github.com/users/nikic/following{/other_user}","gists_url":"https://api.github.com/users/nikic/gists{/gist_id}","starred_url":"https://api.github.com/users/nikic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikic/subscriptions","organizations_url":"https://api.github.com/users/nikic/orgs","repos_url":"https://api.github.com/users/nikic/repos","events_url":"https://api.github.com/users/nikic/events{/privacy}","received_events_url":"https://api.github.com/users/nikic/received_events","type":"User","site_admin":false},"created_at":"2015-06-28T14:19:55Z","updated_at":"2015-06-28T14:19:55Z","body":"@GrahamCampbell `string|null` is not a valid return type in PHP, at least not yet. Note that this is not referring to doc comments, but to actual return types."}}