src/OAuth2/BattleNetProvider.php
protected function checkResponse(ResponseInterface $response, $data): void
    {
        if (\is_array($data) && array_key_exists('error', $data)) {
            throw new OAuthException($data['error'].': '.$data['error_description']);
        }
    }
protected function checkResponse(ResponseInterface $response, $data): void
    {
        if (\is_array($data) && array_key_exists('error', $data)) {
            throw new OAuthException($data['error'].': '.$data['error_description']);
        }
    }
protected function checkResponse ( ResponseInterface $ response , $ data ) : void { if ( \ is_array ( $ data ) && array_key_exists ( 'error' , $ data ) ) { throw new OAuthException ( $ data [ 'error' ] . ': ' . $ data [ 'error_description' ] ) ; } }
{@inheritdoc}
{