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