Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
40 | public function makeCall(string $method, array $arguments = []) |
||
41 | { |
||
42 | |||
43 | Request::$callId++; //Update the Call ID as they need to be unique per call |
||
44 | $request = $this->request->buildRequest($method, $arguments); |
||
45 | |||
46 | $response = $this->client->send($request); |
||
47 | |||
48 | return new Response($method, $response); |
||
49 | } |
||
50 | |||
66 |