original_string: private function matchRequestMethod(
          string $method = null,
          array $supported = null
      ) {
          if ($supported && !in_array($method, $supported)) {
              return false;
          }
  
          return true;
      }
code: private function matchRequestMethod(
          string $method = null,
          array $supported = null
      ) {
          if ($supported && !in_array($method, $supported)) {
              return false;
          }
  
          return true;
      }
code_tokens: private function matchRequestMethod ( string $ method = null , array $ supported = null ) { if ( $ supported && ! in_array ( $ method , $ supported ) ) { return false ; } return true ; }
docstring: Check if the request method matches.
  
  @param string $method    as request method.
  @param string $supported as request methods that are valid.
  
  @return boolean true if request method matches
docstring_tokens: Check if the request method matches .