src/Service.php
Showing 1 of 1 total issue
Function normalize
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
Open
protected function normalize(Response $response) { $data = (array)json_decode($response->body, true); if (!$data || $data['status'] != 'ok') { $this->client->getLogger()->error('Service error:', $data);
- Read upRead up
- Create a ticketCreate a ticket