original_string: protected function updateRequest()
      {
          $headers = [];
          foreach ($this->all() as $key => $values) {
              foreach ($values as $value) {
                  $headers[] = $key.': '.$value;
              }
          }
  
          $this->request->setOption(CURLOPT_HTTPHEADER, $headers);
      }
code: protected function updateRequest()
      {
          $headers = [];
          foreach ($this->all() as $key => $values) {
              foreach ($values as $value) {
                  $headers[] = $key.': '.$value;
              }
          }
  
          $this->request->setOption(CURLOPT_HTTPHEADER, $headers);
      }
code_tokens: protected function updateRequest ( ) { $ headers = [ ] ; foreach ( $ this -> all ( ) as $ key => $ values ) { foreach ( $ values as $ value ) { $ headers [ ] = $ key . ': ' . $ value ; } } $ this -> request -> setOption ( CURLOPT_HTTPHEADER , $ headers ) ; }
docstring: Updates the headers in the associated request.
docstring_tokens: Updates the headers in the associated request .