-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Add note about ResponseInterface::toStream()
#17749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for reporting this. The method is not part of the contract interface ... but it's defined by all tpyes of HttpClient responses 🤔 See https://github.com/search?q=org%3Asymfony+tostream&type=code |
I see. I removed Edit: Would it be better to re-formulate the intro in this section? or maybe actually add the method to the interface? |
Let's ask @nicolas-grekas to see if he can help us decide what to do here. Thanks! |
toStream is part of |
Will update the PR later today to mention this instead of removing |
ResponseInterface::toStream()
Thank you Henrik and congratulations on your first contribution to the Symfony documentation 🎉 This is much appreciated 👏 |
The docs for
HttpClient
mentions that Symfony\Contracts\HttpClient\ResponseInterface provides a methodtoStream
but looking at the source code one can see that this is not the case.This PR removes the mention of
Symfony\Contracts\HttpClient\ResponseInterface::toStream
from the docs.