Conditions | 4 |
Paths | 3 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | protected function showError(array $response) |
||
21 | { |
||
22 | $this->io->error('Status: ' . $response['status'] . ', Detail: ' . $response['detail']); |
||
23 | |||
24 | if (isset($response['errors']) && count($response['errors']) > 0) { |
||
25 | foreach ($response['errors'] as $error) { |
||
26 | $this->io->listing($error); |
||
27 | } |
||
31 |