{"action":"created","comment":{"url":"https://api.github.com/repos/Roave/BetterReflection/pulls/comments/70416510","id":70416510,"diff_hunk":"@@ -597,4 +599,21 @@ public function removeParameter($parameterName)\n             }\n         }\n     }\n+\n+    /**\n+     * Fetch an array of all return statements found within this function.","path":"src/Reflection/ReflectionFunctionAbstract.php","position":22,"original_position":22,"commit_id":"b79e30ddc2d76ba2bb3344ca21b164d0fc083a0e","original_commit_id":"0eb356c4b78bd57dc8f8f5e9389f64485c1ce08a","user":{"login":"asgrim","id":496145,"avatar_url":"https://avatars.githubusercontent.com/u/496145?v=3","gravatar_id":"","url":"https://api.github.com/users/asgrim","html_url":"https://github.com/asgrim","followers_url":"https://api.github.com/users/asgrim/followers","following_url":"https://api.github.com/users/asgrim/following{/other_user}","gists_url":"https://api.github.com/users/asgrim/gists{/gist_id}","starred_url":"https://api.github.com/users/asgrim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asgrim/subscriptions","organizations_url":"https://api.github.com/users/asgrim/orgs","repos_url":"https://api.github.com/users/asgrim/repos","events_url":"https://api.github.com/users/asgrim/events{/privacy}","received_events_url":"https://api.github.com/users/asgrim/received_events","type":"User","site_admin":false},"body":"No, it shouldn't be returned - see test case https://github.com/Roave/BetterReflection/pull/206/commits/b79e30ddc2d76ba2bb3344ca21b164d0fc083a0e#diff-01e91f664ebf580f72f9ffa4bad97307R24","created_at":"2016-07-12T10:48:37Z","updated_at":"2016-07-12T10:48:37Z","html_url":"https://github.com/Roave/BetterReflection/pull/206#discussion_r70416510","pull_request_url":"https://api.github.com/repos/Roave/BetterReflection/pulls/206","_links":{"self":{"href":"https://api.github.com/repos/Roave/BetterReflection/pulls/comments/70416510"},"html":{"href":"https://github.com/Roave/BetterReflection/pull/206#discussion_r70416510"},"pull_request":{"href":"https://api.github.com/repos/Roave/BetterReflection/pulls/206"}}},"pull_request":{"url":"https://api.github.com/repos/Roave/BetterReflection/pulls/206","id":76096015,"html_url":"https://github.com/Roave/BetterReflection/pull/206","diff_url":"https://github.com/Roave/BetterReflection/pull/206.diff","patch_url":"https://github.com/Roave/BetterReflection/pull/206.patch","issue_url":"https://api.github.com/repos/Roave/BetterReflection/issues/206","number":206,"state":"open","locked":false,"title":"Added ReflectionFunctionAbstract::getReturnStatementsAst() method","user":{"login":"asgrim","id":496145,"avatar_url":"https://avatars.githubusercontent.com/u/496145?v=3","gravatar_id":"","url":"https://api.github.com/users/asgrim","html_url":"https://github.com/asgrim","followers_url":"https://api.github.com/users/asgrim/followers","following_url":"https://api.github.com/users/asgrim/following{/other_user}","gists_url":"https://api.github.com/users/asgrim/gists{/gist_id}","starred_url":"https://api.github.com/users/asgrim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asgrim/subscriptions","organizations_url":"https://api.github.com/users/asgrim/orgs","repos_url":"https://api.github.com/users/asgrim/repos","events_url":"https://api.github.com/users/asgrim/events{/privacy}","received_events_url":"https://api.github.com/users/asgrim/received_events","type":"User","site_admin":false},"body":"Fixes #198 \r\n\r\nAdds ability to fetch all `return` statement node trees from a reflection of a function/method.","created_at":"2016-07-03T19:06:59Z","updated_at":"2016-07-12T10:48:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"484b4253b369ac01b0a83e34f078af33f55c2315","assignee":{"login":"Ocramius","id":154256,"avatar_url":"https://avatars.githubusercontent.com/u/154256?v=3","gravatar_id":"","url":"https://api.github.com/users/Ocramius","html_url":"https://github.com/Ocramius","followers_url":"https://api.github.com/users/Ocramius/followers","following_url":"https://api.github.com/users/Ocramius/following{/other_user}","gists_url":"https://api.github.com/users/Ocramius/gists{/gist_id}","starred_url":"https://api.github.com/users/Ocramius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ocramius/subscriptions","organizations_url":"https://api.github.com/users/Ocramius/orgs","repos_url":"https://api.github.com/users/Ocramius/repos","events_url":"https://api.github.com/users/Ocramius/events{/privacy}","received_events_url":"https://api.github.com/users/Ocramius/received_events","type":"User","site_admin":false},"assignees":[{"login":"Ocramius","id":154256,"avatar_url":"https://avatars.githubusercontent.com/u/154256?v=3","gravatar_id":"","url":"https://api.github.com/users/Ocramius","html_url":"https://github.com/Ocramius","followers_url":"https://api.github.com/users/Ocramius/followers","following_url":"https://api.github.com/users/Ocramius/following{/other_user}","gists_url":"https://api.github.com/users/Ocramius/gists{/gist_id}","starred_url":"https://api.github.com/users/Ocramius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ocramius/subscriptions","organizations_url":"https://api.github.com/users/Ocramius/orgs","repos_url":"https://api.github.com/users/Ocramius/repos","events_url":"https://api.github.com/users/Ocramius/events{/privacy}","received_events_url":"https://api.github.com/users/Ocramius/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Roave/BetterReflection/milestones/2","html_url":"https://github.com/Roave/BetterReflection/milestones/1.1.0","labels_url":"https://api.github.com/repos/Roave/BetterReflection/milestones/2/labels","id":1387570,"number":2,"title":"1.1.0","description":"First additional feature delivery\r\n * AST modification features etc.","creator":{"login":"asgrim","id":496145,"avatar_url":"https://avatars.githubusercontent.com/u/496145?v=3","gravatar_id":"","url":"https://api.github.com/users/asgrim","html_url":"https://github.com/asgrim","followers_url":"https://api.github.com/users/asgrim/followers","following_url":"https://api.github.com/users/asgrim/following{/other_user}","gists_url":"https://api.github.com/users/asgrim/gists{/gist_id}","starred_url":"https://api.github.com/users/asgrim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asgrim/subscriptions","organizations_url":"https://api.github.com/users/asgrim/orgs","repos_url":"https://api.github.com/users/asgrim/repos","events_url":"https://api.github.com/users/asgrim/events{/privacy}","received_events_url":"https://api.github.com/users/asgrim/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":37,"state":"open","created_at":"2015-11-01T20:14:10Z","updated_at":"2016-07-06T21:06:49Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/Roave/BetterReflection/pulls/206/commits","review_comments_url":"https://api.github.com/repos/Roave/BetterReflection/pulls/206/comments","review_comment_url":"https://api.github.com/repos/Roave/BetterReflection/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Roave/BetterReflection/issues/206/comments","statuses_url":"https://api.github.com/repos/Roave/BetterReflection/statuses/b79e30ddc2d76ba2bb3344ca21b164d0fc083a0e","head":{"label":"Roave:return-nodes-getter","ref":"return-nodes-getter","sha":"b79e30ddc2d76ba2bb3344ca21b164d0fc083a0e","user":{"login":"Roave","id":3029050,"avatar_url":"https://avatars.githubusercontent.com/u/3029050?v=3","gravatar_id":"","url":"https://api.github.com/users/Roave","html_url":"https://github.com/Roave","followers_url":"https://api.github.com/users/Roave/followers","following_url":"https://api.github.com/users/Roave/following{/other_user}","gists_url":"https://api.github.com/users/Roave/gists{/gist_id}","starred_url":"https://api.github.com/users/Roave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roave/subscriptions","organizations_url":"https://api.github.com/users/Roave/orgs","repos_url":"https://api.github.com/users/Roave/repos","events_url":"https://api.github.com/users/Roave/events{/privacy}","received_events_url":"https://api.github.com/users/Roave/received_events","type":"Organization","site_admin":false},"repo":{"id":36865277,"name":"BetterReflection","full_name":"Roave/BetterReflection","owner":{"login":"Roave","id":3029050,"avatar_url":"https://avatars.githubusercontent.com/u/3029050?v=3","gravatar_id":"","url":"https://api.github.com/users/Roave","html_url":"https://github.com/Roave","followers_url":"https://api.github.com/users/Roave/followers","following_url":"https://api.github.com/users/Roave/following{/other_user}","gists_url":"https://api.github.com/users/Roave/gists{/gist_id}","starred_url":"https://api.github.com/users/Roave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roave/subscriptions","organizations_url":"https://api.github.com/users/Roave/orgs","repos_url":"https://api.github.com/users/Roave/repos","events_url":"https://api.github.com/users/Roave/events{/privacy}","received_events_url":"https://api.github.com/users/Roave/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Roave/BetterReflection","description":"Better Reflection is a reflection API that aims to improve and provide more features than PHP's built-in reflection API.","fork":false,"url":"https://api.github.com/repos/Roave/BetterReflection","forks_url":"https://api.github.com/repos/Roave/BetterReflection/forks","keys_url":"https://api.github.com/repos/Roave/BetterReflection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Roave/BetterReflection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Roave/BetterReflection/teams","hooks_url":"https://api.github.com/repos/Roave/BetterReflection/hooks","issue_events_url":"https://api.github.com/repos/Roave/BetterReflection/issues/events{/number}","events_url":"https://api.github.com/repos/Roave/BetterReflection/events","assignees_url":"https://api.github.com/repos/Roave/BetterReflection/assignees{/user}","branches_url":"https://api.github.com/repos/Roave/BetterReflection/branches{/branch}","tags_url":"https://api.github.com/repos/Roave/BetterReflection/tags","blobs_url":"https://api.github.com/repos/Roave/BetterReflection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Roave/BetterReflection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Roave/BetterReflection/git/refs{/sha}","trees_url":"https://api.github.com/repos/Roave/BetterReflection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Roave/BetterReflection/statuses/{sha}","languages_url":"https://api.github.com/repos/Roave/BetterReflection/languages","stargazers_url":"https://api.github.com/repos/Roave/BetterReflection/stargazers","contributors_url":"https://api.github.com/repos/Roave/BetterReflection/contributors","subscribers_url":"https://api.github.com/repos/Roave/BetterReflection/subscribers","subscription_url":"https://api.github.com/repos/Roave/BetterReflection/subscription","commits_url":"https://api.github.com/repos/Roave/BetterReflection/commits{/sha}","git_commits_url":"https://api.github.com/repos/Roave/BetterReflection/git/commits{/sha}","comments_url":"https://api.github.com/repos/Roave/BetterReflection/comments{/number}","issue_comment_url":"https://api.github.com/repos/Roave/BetterReflection/issues/comments{/number}","contents_url":"https://api.github.com/repos/Roave/BetterReflection/contents/{+path}","compare_url":"https://api.github.com/repos/Roave/BetterReflection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Roave/BetterReflection/merges","archive_url":"https://api.github.com/repos/Roave/BetterReflection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Roave/BetterReflection/downloads","issues_url":"https://api.github.com/repos/Roave/BetterReflection/issues{/number}","pulls_url":"https://api.github.com/repos/Roave/BetterReflection/pulls{/number}","milestones_url":"https://api.github.com/repos/Roave/BetterReflection/milestones{/number}","notifications_url":"https://api.github.com/repos/Roave/BetterReflection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Roave/BetterReflection/labels{/name}","releases_url":"https://api.github.com/repos/Roave/BetterReflection/releases{/id}","deployments_url":"https://api.github.com/repos/Roave/BetterReflection/deployments","created_at":"2015-06-04T11:02:42Z","updated_at":"2016-07-04T05:07:46Z","pushed_at":"2016-07-12T10:43:53Z","git_url":"git://github.com/Roave/BetterReflection.git","ssh_url":"git@github.com:Roave/BetterReflection.git","clone_url":"https://github.com/Roave/BetterReflection.git","svn_url":"https://github.com/Roave/BetterReflection","homepage":"","size":1052,"stargazers_count":254,"watchers_count":254,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":27,"forks":17,"open_issues":27,"watchers":254,"default_branch":"master"}},"base":{"label":"Roave:master","ref":"master","sha":"035c3c3cdc18f5ed6647a3298ff3b78d59cf3ad1","user":{"login":"Roave","id":3029050,"avatar_url":"https://avatars.githubusercontent.com/u/3029050?v=3","gravatar_id":"","url":"https://api.github.com/users/Roave","html_url":"https://github.com/Roave","followers_url":"https://api.github.com/users/Roave/followers","following_url":"https://api.github.com/users/Roave/following{/other_user}","gists_url":"https://api.github.com/users/Roave/gists{/gist_id}","starred_url":"https://api.github.com/users/Roave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roave/subscriptions","organizations_url":"https://api.github.com/users/Roave/orgs","repos_url":"https://api.github.com/users/Roave/repos","events_url":"https://api.github.com/users/Roave/events{/privacy}","received_events_url":"https://api.github.com/users/Roave/received_events","type":"Organization","site_admin":false},"repo":{"id":36865277,"name":"BetterReflection","full_name":"Roave/BetterReflection","owner":{"login":"Roave","id":3029050,"avatar_url":"https://avatars.githubusercontent.com/u/3029050?v=3","gravatar_id":"","url":"https://api.github.com/users/Roave","html_url":"https://github.com/Roave","followers_url":"https://api.github.com/users/Roave/followers","following_url":"https://api.github.com/users/Roave/following{/other_user}","gists_url":"https://api.github.com/users/Roave/gists{/gist_id}","starred_url":"https://api.github.com/users/Roave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roave/subscriptions","organizations_url":"https://api.github.com/users/Roave/orgs","repos_url":"https://api.github.com/users/Roave/repos","events_url":"https://api.github.com/users/Roave/events{/privacy}","received_events_url":"https://api.github.com/users/Roave/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Roave/BetterReflection","description":"Better Reflection is a reflection API that aims to improve and provide more features than PHP's built-in reflection API.","fork":false,"url":"https://api.github.com/repos/Roave/BetterReflection","forks_url":"https://api.github.com/repos/Roave/BetterReflection/forks","keys_url":"https://api.github.com/repos/Roave/BetterReflection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Roave/BetterReflection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Roave/BetterReflection/teams","hooks_url":"https://api.github.com/repos/Roave/BetterReflection/hooks","issue_events_url":"https://api.github.com/repos/Roave/BetterReflection/issues/events{/number}","events_url":"https://api.github.com/repos/Roave/BetterReflection/events","assignees_url":"https://api.github.com/repos/Roave/BetterReflection/assignees{/user}","branches_url":"https://api.github.com/repos/Roave/BetterReflection/branches{/branch}","tags_url":"https://api.github.com/repos/Roave/BetterReflection/tags","blobs_url":"https://api.github.com/repos/Roave/BetterReflection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Roave/BetterReflection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Roave/BetterReflection/git/refs{/sha}","trees_url":"https://api.github.com/repos/Roave/BetterReflection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Roave/BetterReflection/statuses/{sha}","languages_url":"https://api.github.com/repos/Roave/BetterReflection/languages","stargazers_url":"https://api.github.com/repos/Roave/BetterReflection/stargazers","contributors_url":"https://api.github.com/repos/Roave/BetterReflection/contributors","subscribers_url":"https://api.github.com/repos/Roave/BetterReflection/subscribers","subscription_url":"https://api.github.com/repos/Roave/BetterReflection/subscription","commits_url":"https://api.github.com/repos/Roave/BetterReflection/commits{/sha}","git_commits_url":"https://api.github.com/repos/Roave/BetterReflection/git/commits{/sha}","comments_url":"https://api.github.com/repos/Roave/BetterReflection/comments{/number}","issue_comment_url":"https://api.github.com/repos/Roave/BetterReflection/issues/comments{/number}","contents_url":"https://api.github.com/repos/Roave/BetterReflection/contents/{+path}","compare_url":"https://api.github.com/repos/Roave/BetterReflection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Roave/BetterReflection/merges","archive_url":"https://api.github.com/repos/Roave/BetterReflection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Roave/BetterReflection/downloads","issues_url":"https://api.github.com/repos/Roave/BetterReflection/issues{/number}","pulls_url":"https://api.github.com/repos/Roave/BetterReflection/pulls{/number}","milestones_url":"https://api.github.com/repos/Roave/BetterReflection/milestones{/number}","notifications_url":"https://api.github.com/repos/Roave/BetterReflection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Roave/BetterReflection/labels{/name}","releases_url":"https://api.github.com/repos/Roave/BetterReflection/releases{/id}","deployments_url":"https://api.github.com/repos/Roave/BetterReflection/deployments","created_at":"2015-06-04T11:02:42Z","updated_at":"2016-07-04T05:07:46Z","pushed_at":"2016-07-12T10:43:53Z","git_url":"git://github.com/Roave/BetterReflection.git","ssh_url":"git@github.com:Roave/BetterReflection.git","clone_url":"https://github.com/Roave/BetterReflection.git","svn_url":"https://github.com/Roave/BetterReflection","homepage":"","size":1052,"stargazers_count":254,"watchers_count":254,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":27,"forks":17,"open_issues":27,"watchers":254,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Roave/BetterReflection/pulls/206"},"html":{"href":"https://github.com/Roave/BetterReflection/pull/206"},"issue":{"href":"https://api.github.com/repos/Roave/BetterReflection/issues/206"},"comments":{"href":"https://api.github.com/repos/Roave/BetterReflection/issues/206/comments"},"review_comments":{"href":"https://api.github.com/repos/Roave/BetterReflection/pulls/206/comments"},"review_comment":{"href":"https://api.github.com/repos/Roave/BetterReflection/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Roave/BetterReflection/pulls/206/commits"},"statuses":{"href":"https://api.github.com/repos/Roave/BetterReflection/statuses/b79e30ddc2d76ba2bb3344ca21b164d0fc083a0e"}}}}
{"actor":{"display_login":"asgrim"}}