From f28585983bf3bbbef3d484f2a5b97a1601eeef64 Mon Sep 17 00:00:00 2001 From: Jeremy Emery Date: Thu, 5 Jan 2017 10:51:57 +0000 Subject: [PATCH] Update Client.php Fix a typo in the InvalidArgumentException thrown for invalidBody --- src/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index b14574d4..ab678110 100644 --- a/src/Client.php +++ b/src/Client.php @@ -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.'); } }