Skip to content

Commit

Permalink
Merge pull request #3 from reyostallenberg/patch-1
Browse files Browse the repository at this point in the history
Fix typo in example
  • Loading branch information
dbu authored Mar 17, 2022
2 parents 3e6627e + fd0f204 commit 93ead07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ composer require php-http/throttle-plugin
## Usage

```php
new \Http\Client\Common\Plugin\ThrottlePluginn(
new \Http\Client\Common\Plugin\ThrottlePlugin(
(new \Symfony\Component\RateLimiter\RateLimiterFactory(
['id' => 'foo', 'policy' => 'fixed_window', 'limit' => 2, 'interval' => '3 seconds'],
new \Symfony\Component\RateLimiter\Storage\InMemoryStorage(),
Expand Down

0 comments on commit 93ead07

Please sign in to comment.