From 5fd586eb34d75d1a2bfd61ae05fdf1d8ee77777b Mon Sep 17 00:00:00 2001 From: Chintan Patel Date: Tue, 28 Mar 2017 12:14:24 +0530 Subject: [PATCH] Fix syntax in RequestBody.php --- src/RequestBody.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RequestBody.php b/src/RequestBody.php index 38b6a0b..36a7559 100644 --- a/src/RequestBody.php +++ b/src/RequestBody.php @@ -51,7 +51,7 @@ public function __construct($contents, $encoding = '8bit') case 'object': case 'array': - $str = json_encode(json_encode($contents); + $str = json_encode(json_encode($contents)); break; case 'boolean':