Skip to content

Commit bf32f16

Browse files
committed
Fix docs for missing $body argument for put() and delete() methods
1 parent 29940dc commit bf32f16

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2015,7 +2015,7 @@ $browser->patch($url, array('Content-Length' => '11'), $body);
20152015

20162016
#### put()
20172017

2018-
The `put(string $url, array $headers = array()): PromiseInterface<ResponseInterface>` method can be used to
2018+
The `put(string $url, array $headers = array(), string|ReadableStreamInterface $body = ''): PromiseInterface<ResponseInterface>` method can be used to
20192019
send an HTTP PUT request.
20202020

20212021
```php
@@ -2049,7 +2049,7 @@ $browser->put($url, array('Content-Length' => '11'), $body);
20492049

20502050
#### delete()
20512051

2052-
The `delete(string $url, array $headers = array()): PromiseInterface<ResponseInterface>` method can be used to
2052+
The `delete(string $url, array $headers = array(), string|ReadableStreamInterface $body = ''): PromiseInterface<ResponseInterface>` method can be used to
20532053
send an HTTP DELETE request.
20542054

20552055
```php

0 commit comments

Comments
 (0)