private function getClient(): Client
    {
        if (null !== $this->client) {
            return $this->client;
        }

        return $this->client = new Client(
            $this->config['carrier'],
            $this->config['key'],
            $this->config['cache'],
            $this->config['debug']
        );
    }
private function getClient(): Client
    {
        if (null !== $this->client) {
            return $this->client;
        }

        return $this->client = new Client(
            $this->config['carrier'],
            $this->config['key'],
            $this->config['cache'],
            $this->config['debug']
        );
    }
private function getClient ( ) : Client { if ( null !== $ this -> client ) { return $ this -> client ; } return $ this -> client = new Client ( $ this -> config [ 'carrier' ] , $ this -> config [ 'key' ] , $ this -> config [ 'cache' ] , $ this -> config [ 'debug' ] ) ; }
Returns the client.

@return Client
Returns the client .