original_string: private function createResponseFromOAuthException(OAuth2Exception $exception): ResponseInterface
      {
          $payload = [
              'error' => $exception->getCode(),
              'error_description' => $exception->getMessage(),
          ];
  
          return new Response\JsonResponse($payload, 400);
      }
code: private function createResponseFromOAuthException(OAuth2Exception $exception): ResponseInterface
      {
          $payload = [
              'error' => $exception->getCode(),
              'error_description' => $exception->getMessage(),
          ];
  
          return new Response\JsonResponse($payload, 400);
      }
code_tokens: private function createResponseFromOAuthException ( OAuth2Exception $ exception ) : ResponseInterface { $ payload = [ 'error' => $ exception -> getCode ( ) , 'error_description' => $ exception -> getMessage ( ) , ] ; return new Response \ JsonResponse ( $ payload , 400 ) ; }
docstring: Create a response from the exception, using the format of the spec
  
  @link   http://tools.ietf.org/html/rfc6749#section-5.2
docstring_tokens: Create a response from the exception using the format of the spec