original_string: private function headers()
      {
          $headers = '';
          foreach (config('cors.headers') as $header) {
              $headers = $headers . $header . ', ';
          }
          header('Access-Control-Allow-Headers: ' . $headers);
      }
code: private function headers()
      {
          $headers = '';
          foreach (config('cors.headers') as $header) {
              $headers = $headers . $header . ', ';
          }
          header('Access-Control-Allow-Headers: ' . $headers);
      }
code_tokens: private function headers ( ) { $ headers = '' ; foreach ( config ( 'cors.headers' ) as $ header ) { $ headers = $ headers . $ header . ', ' ; } header ( 'Access-Control-Allow-Headers: ' . $ headers ) ; }
docstring: Set access control headers.
docstring_tokens: Set access control headers .