forked from loafle/openapi-generator-original
Unused local variable 'json_data'.
The value of the variable is not used anywhere.
This commit is contained in:
parent
2ea6c2a3a7
commit
e03d4fc1a5
@ -85,7 +85,6 @@ class APIClient {
|
||||
curl_setopt($curl, CURLOPT_POST, true);
|
||||
curl_setopt($curl, CURLOPT_POSTFIELDS, $postData);
|
||||
} else if ($method == self::$PUT) {
|
||||
$json_data = json_encode($postData);
|
||||
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "PUT");
|
||||
curl_setopt($curl, CURLOPT_POSTFIELDS, $postData);
|
||||
} else if ($method == self::$DELETE) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user