original_string: public static function getDefaultConfiguration($handler = null)
      {
          $config = [
              'headers' => [
                  'Accept' => 'application/json',
                  'Content-Type' => 'application/json',
              ],
          ];
  
          if (!$handler) {
              $handler = HandlerStack::create();
              $handler->push(Middleware::mpxErrors(), 'mpx_errors');
          }
          $config['handler'] = $handler;
  
          return $config;
      }
code: public static function getDefaultConfiguration($handler = null)
      {
          $config = [
              'headers' => [
                  'Accept' => 'application/json',
                  'Content-Type' => 'application/json',
              ],
          ];
  
          if (!$handler) {
              $handler = HandlerStack::create();
              $handler->push(Middleware::mpxErrors(), 'mpx_errors');
          }
          $config['handler'] = $handler;
  
          return $config;
      }
code_tokens: public static function getDefaultConfiguration ( $ handler = null ) { $ config = [ 'headers' => [ 'Accept' => 'application/json' , 'Content-Type' => 'application/json' , ] , ] ; if ( ! $ handler ) { $ handler = HandlerStack :: create ( ) ; $ handler -> push ( Middleware :: mpxErrors ( ) , 'mpx_errors' ) ; } $ config [ 'handler' ] = $ handler ; return $ config ; }
docstring: Get the default Guzzle client configuration array.
  
  @param mixed $handler (optional) A Guzzle handler to use for
  requests. If a custom handler is specified, it must
  include Middleware::mpxErrors or a replacement.
  
  @return array An array of configuration options suitable for use with Guzzle.
docstring_tokens: Get the default Guzzle client configuration array .