original_string: public function stripBadChars(string $parameter, array $optionalChars = []): string
      {
          return str_replace(self::badChars . $optionalChars, "", $parameter);
      }
code: public function stripBadChars(string $parameter, array $optionalChars = []): string
      {
          return str_replace(self::badChars . $optionalChars, "", $parameter);
      }
code_tokens: public function stripBadChars ( string $ parameter , array $ optionalChars = [ ] ) : string { return str_replace ( self :: badChars . $ optionalChars , "" , $ parameter ) ; }
docstring: Strip unauthorized chars from string
  
  @param string $parameter []
  @param array $optionalChars
  @return string
docstring_tokens: Strip unauthorized chars from string