{"action":"created","issue":{"url":"https://api.github.com/repos/php-fig/fig-standards/issues/793","repository_url":"https://api.github.com/repos/php-fig/fig-standards","labels_url":"https://api.github.com/repos/php-fig/fig-standards/issues/793/labels{/name}","comments_url":"https://api.github.com/repos/php-fig/fig-standards/issues/793/comments","events_url":"https://api.github.com/repos/php-fig/fig-standards/issues/793/events","html_url":"https://github.com/php-fig/fig-standards/pull/793","id":169194066,"number":793,"title":"Sync with php-fig/http-message#50","user":{"login":"weierophinney","id":25943,"avatar_url":"https://avatars.githubusercontent.com/u/25943?v=3","gravatar_id":"","url":"https://api.github.com/users/weierophinney","html_url":"https://github.com/weierophinney","followers_url":"https://api.github.com/users/weierophinney/followers","following_url":"https://api.github.com/users/weierophinney/following{/other_user}","gists_url":"https://api.github.com/users/weierophinney/gists{/gist_id}","starred_url":"https://api.github.com/users/weierophinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weierophinney/subscriptions","organizations_url":"https://api.github.com/users/weierophinney/orgs","repos_url":"https://api.github.com/users/weierophinney/repos","events_url":"https://api.github.com/users/weierophinney/events{/privacy}","received_events_url":"https://api.github.com/users/weierophinney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-03T17:58:58Z","updated_at":"2016-08-03T19:34:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/php-fig/fig-standards/pulls/793","html_url":"https://github.com/php-fig/fig-standards/pull/793","diff_url":"https://github.com/php-fig/fig-standards/pull/793.diff","patch_url":"https://github.com/php-fig/fig-standards/pull/793.patch"},"body":"This patch updates PSR-7 to always use `@return static` instead of `@return self` within method annotations, as done in php-fig/http-message#50. Per the discussion on that issue, `static` is interpreted by phpDoc and most IDEs in such a way that it always resolves to the class against which it was invoked, and not the defining class, unlike `self`, which always resolves to the class in which it was originally defined. Additionally, `static` has the *connotation* that a new instance, not the same instance, will be returned — which is the intention as outlined already in each method providing such a return value."},"comment":{"url":"https://api.github.com/repos/php-fig/fig-standards/issues/comments/237346589","html_url":"https://github.com/php-fig/fig-standards/pull/793#issuecomment-237346589","issue_url":"https://api.github.com/repos/php-fig/fig-standards/issues/793","id":237346589,"user":{"login":"weierophinney","id":25943,"avatar_url":"https://avatars.githubusercontent.com/u/25943?v=3","gravatar_id":"","url":"https://api.github.com/users/weierophinney","html_url":"https://github.com/weierophinney","followers_url":"https://api.github.com/users/weierophinney/followers","following_url":"https://api.github.com/users/weierophinney/following{/other_user}","gists_url":"https://api.github.com/users/weierophinney/gists{/gist_id}","starred_url":"https://api.github.com/users/weierophinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weierophinney/subscriptions","organizations_url":"https://api.github.com/users/weierophinney/orgs","repos_url":"https://api.github.com/users/weierophinney/repos","events_url":"https://api.github.com/users/weierophinney/events{/privacy}","received_events_url":"https://api.github.com/users/weierophinney/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T19:34:06Z","updated_at":"2016-08-03T19:34:06Z","body":"@michaelcullum I've rebased and re-pushed now."}}
{"actor":{"display_login":"weierophinney"}}