Skip to content

Commit 168ee92

Browse files
Apply suggestions from code review
Co-authored-by: Oskar Stark <[email protected]>
1 parent f766107 commit 168ee92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

http_client.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,11 +1474,11 @@ installed in your application::
14741474
:class:`Symfony\\Component\\HttpClient\\CachingHttpClient` accepts a third argument
14751475
to set the options of the :class:`Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache`.
14761476

1477-
Limits Number of Requests
1477+
Limit the Number of Requests
14781478
-------------------------
14791479

14801480
This component provides a :class:`Symfony\\Component\\HttpClient\\ThrottlingHttpClient`
1481-
decorator that allows to limits the number of requests within a certain period.
1481+
decorator that allows to limit the number of requests within a certain period.
14821482

14831483
The implementation leverages the
14841484
:class:`Symfony\\Component\\RateLimiter\\LimiterInterface` class under the hood
@@ -1499,7 +1499,7 @@ installed in your application::
14991499
}
15001500

15011501
foreach ($requests as $request) {
1502-
// Depending of rate limiting policy, calls will be delayed
1502+
// Depending on rate limiting policy, calls will be delayed
15031503
$output->writeln($request->getContent());
15041504
}
15051505

0 commit comments

Comments
 (0)