@@ -51,6 +51,9 @@ |
||
| 51 | 51 | return $method(); |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | + /** |
|
| 55 | + * @param string $method |
|
| 56 | + */ |
|
| 54 | 57 | public function send($method, $params = []) |
| 55 | 58 | { |
| 56 | 59 | $response = $this->client->post($method, ['body_params' => $params])->getBody()->__toString(); |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | */ |
| 53 | 53 | private function toCamelCase($key) |
| 54 | 54 | { |
| 55 | - return lcfirst(implode(array_map(function ($part) { |
|
| 55 | + return lcfirst(implode(array_map(function($part) { |
|
| 56 | 56 | return ucfirst($part); |
| 57 | 57 | }, explode('_', $key)))); |
| 58 | 58 | } |