original_string: public function addInlineType($type, $tag, $index = null)
      {
          if (null === $index || !isset($this->InlineTypes[$type])) {
              $this->InlineTypes[$type] [] = $tag;
          } else {
              array_splice($this->InlineTypes[$type], $index, 0, [$tag]);
          }
  
          if (strpos($this->inlineMarkerList, $type) === false) {
              $this->inlineMarkerList .= $type;
          }
      }
code: public function addInlineType($type, $tag, $index = null)
      {
          if (null === $index || !isset($this->InlineTypes[$type])) {
              $this->InlineTypes[$type] [] = $tag;
          } else {
              array_splice($this->InlineTypes[$type], $index, 0, [$tag]);
          }
  
          if (strpos($this->inlineMarkerList, $type) === false) {
              $this->inlineMarkerList .= $type;
          }
      }
code_tokens: public function addInlineType ( $ type , $ tag , $ index = null ) { if ( null === $ index || ! isset ( $ this -> InlineTypes [ $ type ] ) ) { $ this -> InlineTypes [ $ type ] [ ] = $ tag ; } else { array_splice ( $ this -> InlineTypes [ $ type ] , $ index , 0 , [ $ tag ] ) ; } if ( strpos ( $ this -> inlineMarkerList , $ type ) === false ) { $ this -> inlineMarkerList .= $ type ; } }
docstring: Be able to define a new Inline type or override an existing one
  
  @param string $type
  @param string $tag
  @param int|null $index
docstring_tokens: Be able to define a new Inline type or override an existing one