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