Skip to content

Commit e45bdf8

Browse files
authored
Merge pull request #6 from Chintanvpatel/reqbody-fix
Fix syntax in RequestBody.php
2 parents 78932aa + 5fd586e commit e45bdf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RequestBody.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function __construct($contents, $encoding = '8bit')
5151

5252
case 'object':
5353
case 'array':
54-
$str = json_encode(json_encode($contents);
54+
$str = json_encode(json_encode($contents));
5555
break;
5656

5757
case 'boolean':

0 commit comments

Comments
 (0)