{"action":"created","issue":{"url":"https://api.github.com/repos/php/php-src/issues/1190","labels_url":"https://api.github.com/repos/php/php-src/issues/1190/labels{/name}","comments_url":"https://api.github.com/repos/php/php-src/issues/1190/comments","events_url":"https://api.github.com/repos/php/php-src/issues/1190/events","html_url":"https://github.com/php/php-src/pull/1190","id":63511262,"number":1190,"title":"Reflection support for type hints and return types","user":{"login":"mbeccati","id":282388,"avatar_url":"https://avatars.githubusercontent.com/u/282388?v=3","gravatar_id":"","url":"https://api.github.com/users/mbeccati","html_url":"https://github.com/mbeccati","followers_url":"https://api.github.com/users/mbeccati/followers","following_url":"https://api.github.com/users/mbeccati/following{/other_user}","gists_url":"https://api.github.com/users/mbeccati/gists{/gist_id}","starred_url":"https://api.github.com/users/mbeccati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbeccati/subscriptions","organizations_url":"https://api.github.com/users/mbeccati/orgs","repos_url":"https://api.github.com/users/mbeccati/repos","events_url":"https://api.github.com/users/mbeccati/events{/privacy}","received_events_url":"https://api.github.com/users/mbeccati/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/php/php-src/labels/RFC","name":"RFC","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-22T09:01:37Z","updated_at":"2015-04-01T14:56:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/php/php-src/pulls/1190","html_url":"https://github.com/php/php-src/pull/1190","diff_url":"https://github.com/php/php-src/pull/1190.diff","patch_url":"https://github.com/php/php-src/pull/1190.patch"},"body":"A work based off of Sara's https://wiki.php.net/rfc/reflectionparameter.typehint with a twist.\r\n\r\nI've changed ReturnTypeAnnotation back to ReturnTypeHint, as this is still what we're calling them.\r\n\r\nThe new methods are:\r\n* ReflectionFunctionAbstract::hasReturnTypeHint()\r\n* ReflectionFunctionAbstract::getReturnTypeHint()\r\n* ReflectionTypeHint::isInstance() \r\n* ReflectionTypeHint::isScalar() \r\n\r\nReferences:\r\nhttp://markmail.org/message/meyx6t52opv7xfbo\r\n\r\nBtw, not trying to bypass the RFC process, but atm I don't have time to propose one."},"comment":{"url":"https://api.github.com/repos/php/php-src/issues/comments/88513633","html_url":"https://github.com/php/php-src/pull/1190#issuecomment-88513633","issue_url":"https://api.github.com/repos/php/php-src/issues/1190","id":88513633,"user":{"login":"mbeccati","id":282388,"avatar_url":"https://avatars.githubusercontent.com/u/282388?v=3","gravatar_id":"","url":"https://api.github.com/users/mbeccati","html_url":"https://github.com/mbeccati","followers_url":"https://api.github.com/users/mbeccati/followers","following_url":"https://api.github.com/users/mbeccati/following{/other_user}","gists_url":"https://api.github.com/users/mbeccati/gists{/gist_id}","starred_url":"https://api.github.com/users/mbeccati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbeccati/subscriptions","organizations_url":"https://api.github.com/users/mbeccati/orgs","repos_url":"https://api.github.com/users/mbeccati/repos","events_url":"https://api.github.com/users/mbeccati/events{/privacy}","received_events_url":"https://api.github.com/users/mbeccati/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T14:56:45Z","updated_at":"2015-04-01T14:56:45Z","body":"@nikic isn't TypeAnnotation a bit too close to Annotations, which aren't supported yet, but something very different?"}}