diff --git a/README.md b/README.md index ce2e194..fc8a7a0 100644 --- a/README.md +++ b/README.md @@ -432,7 +432,7 @@ use GraphQL\GraphQL; use \Exception; if (isset($_SERVER['CONTENT_TYPE']) && $_SERVER['CONTENT_TYPE'] === 'application/json') { - $rawBody = file_get_contents('php://input') + $rawBody = file_get_contents('php://input'); $data = json_decode($rawBody ?: '', true); } else { $data = $_POST;