Skip to content

Commit

Permalink
Merge pull request #27 from M-Shahbaz/patch-3
Browse files Browse the repository at this point in the history
client-specific setting to preserve case methods
  • Loading branch information
denpamusic authored Nov 15, 2018
2 parents 4ff7a2a + dc183aa commit ed88a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
@@ -389,7 +389,7 @@ protected function makeJson($method, $params = [])
{
return [
'json' => [
'method' => strtolower($method),
'method' => isset($this->config['preserve_case']) ? $method : strtolower($method),
'params' => (array) $params,
'id' => $this->rpcId++,
],

0 comments on commit ed88a50

Please sign in to comment.