original_string: private static function lookupContentType($filename) {
      foreach ($_FILES as $file) {
        if ($file['tmp_name'] == $filename) {
          return $file['type'] ?: static::DEFAULT_CONTENT_TYPE;
        }
      }
      return static::DEFAULT_CONTENT_TYPE;
    }
code: private static function lookupContentType($filename) {
      foreach ($_FILES as $file) {
        if ($file['tmp_name'] == $filename) {
          return $file['type'] ?: static::DEFAULT_CONTENT_TYPE;
        }
      }
      return static::DEFAULT_CONTENT_TYPE;
    }
code_tokens: private static function lookupContentType ( $ filename ) { foreach ( $ _FILES as $ file ) { if ( $ file [ 'tmp_name' ] == $ filename ) { return $ file [ 'type' ] ? : static :: DEFAULT_CONTENT_TYPE ; } } return static :: DEFAULT_CONTENT_TYPE ; }
docstring: Lookup the content type associated with an uploaded file.
  
  @param string $filename
  The filename of the uploaded file.
  @return
  Content type associated with filename, otherwise DEFAULT_CONTENT_TYPE.
docstring_tokens: Lookup the content type associated with an uploaded file .