Skip to content

[HttpClient] Replace a few classes and methods occurrences by their source code link #17988

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

Merged

Conversation

alexandre-daubois
Copy link
Member

Fixing a few missing ones

@alexandre-daubois alexandre-daubois force-pushed the httpclient-classes-methods branch 4 times, most recently from dd9fc9f to 394fc95 Compare March 2, 2023 08:57
@alexandre-daubois alexandre-daubois force-pushed the httpclient-classes-methods branch 2 times, most recently from 3f4b3c7 to ea53c03 Compare March 2, 2023 12:20
http_client.rst Outdated
@@ -1041,8 +1044,9 @@ following methods::
Streaming Responses
~~~~~~~~~~~~~~~~~~~

Call the ``stream()`` method of the HTTP client to get *chunks* of the
response sequentially instead of waiting for the entire response::
Call the ``stream()`` method of :class:`Symfony\\Contracts\\HttpClient\\HttpClientInterface`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Call the ``stream()`` method of :class:`Symfony\\Contracts\\HttpClient\\HttpClientInterface`
Call the :class:`Symfony\\Contracts\\HttpClient\\HttpClientInterface::stream`` method

Same for similar occurrences.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated for this one and other occurrences 🙂

http_client.rst Outdated
``HttpClient::create()`` selects the cURL transport if the `cURL PHP extension`_
is enabled and falls back to PHP streams otherwise. If you prefer to select
the transport explicitly, use the following classes to create the client::
The ``create()`` method of :class:`Symfony\\Component\\HttpClient\\HttpClient`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The ``create()`` method of :class:`Symfony\\Component\\HttpClient\\HttpClient`
:class:`HttpClient::create() <Symfony\\Component\\HttpClient\\HttpClient::create>`

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO we should keep HttpClient::create() like before, same for the other examples

@alexandre-daubois alexandre-daubois force-pushed the httpclient-classes-methods branch from ea53c03 to bed01f4 Compare March 4, 2023 06:53
@OskarStark OskarStark requested a review from wouterj March 7, 2023 05:20
@alexandre-daubois alexandre-daubois force-pushed the httpclient-classes-methods branch from bed01f4 to 335c8cf Compare June 11, 2023 14:47
@alexandre-daubois
Copy link
Member Author

Forgot this one 😄 I updated with your suggestions

@javiereguiluz
Copy link
Member

Thanks Alex ... and thanks reviewers too!

@javiereguiluz javiereguiluz merged commit 45bf439 into symfony:5.4 Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants