Skip to content

Commit

Permalink
Merge pull request #6 from Chintanvpatel/reqbody-fix
Browse files Browse the repository at this point in the history
Fix syntax in RequestBody.php
  • Loading branch information
dcarbone authored Mar 28, 2017
2 parents 78932aa + 5fd586e commit e45bdf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RequestBody.php
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit e45bdf8

Please sign in to comment.