original_string: protected function inAllowedMethods($method)
      {
          $allowedMethods = collect(config('admin.operation_log.allowed_methods'))->filter();
  
          if ($allowedMethods->isEmpty()) {
              return true;
          }
  
          return $allowedMethods->map(function ($method) {
              return strtoupper($method);
          })->contains($method);
      }
code: protected function inAllowedMethods($method)
      {
          $allowedMethods = collect(config('admin.operation_log.allowed_methods'))->filter();
  
          if ($allowedMethods->isEmpty()) {
              return true;
          }
  
          return $allowedMethods->map(function ($method) {
              return strtoupper($method);
          })->contains($method);
      }
code_tokens: protected function inAllowedMethods ( $ method ) { $ allowedMethods = collect ( config ( 'admin.operation_log.allowed_methods' ) ) -> filter ( ) ; if ( $ allowedMethods -> isEmpty ( ) ) { return true ; } return $ allowedMethods -> map ( function ( $ method ) { return strtoupper ( $ method ) ; } ) -> contains ( $ method ) ; }
docstring: Whether requests using this method are allowed to be logged.
  
  @param string $method
  
  @return bool
docstring_tokens: Whether requests using this method are allowed to be logged .