mirror of
https://github.com/guzzle/guzzle.git
synced 2025-02-24 10:03:27 +01:00
Update Client.php
Fix a typo in the InvalidArgumentException thrown for invalidBody
This commit is contained in:
parent
ec70becf65
commit
f28585983b
@ -402,7 +402,7 @@ class Client implements ClientInterface
|
||||
throw new \InvalidArgumentException('Passing in the "body" request '
|
||||
. 'option as an array to send a POST request has been deprecated. '
|
||||
. 'Please use the "form_params" request option to send a '
|
||||
. 'application/x-www-form-urlencoded request, or a the "multipart" '
|
||||
. 'application/x-www-form-urlencoded request, or the "multipart" '
|
||||
. 'request option to send a multipart/form-data request.');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user