| Conditions | 2 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 2.0054 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 44 | 3 | private function get($endpoint) |
|
| 45 | { |
||
| 46 | try { |
||
| 47 | 3 | $response = $this->client->post($this->options['URL'] . $endpoint, [ |
|
| 48 | 'body' => [ |
||
| 49 | 3 | 'APIKEY' => $this->options['APIKEY'] |
|
| 50 | 3 | ] |
|
| 51 | 3 | ]); |
|
| 52 | 3 | $this->responseData = (string) $response->getBody(); |
|
| 53 | 3 | } catch (\GuzzleHttp\Exception\RequestException $e) { |
|
| 54 | var_dump($e); |
||
| 55 | } |
||
| 56 | 3 | } |
|
| 57 | } |
||
| 58 |
This check marks private properties in classes that are never used. Those properties can be removed.