src/Client.php
Showing 2 of 2 total issues
Client
has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Client{ const LIBVER = "1.0.0"; const USER_AGENT_SUFFIX = "goracash-api-php-client/";
- Create a ticketCreate a ticket
Function __construct
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
Open
public function __construct($config = null) { if (is_string($config) && strlen($config)) { $config = new Config($config); }
- Read upRead up
- Create a ticketCreate a ticket