original_string: public function add($element, $index = null) {
  		if ($index === null) {
  			$this->array[$this->count()] = $element;
  		} else {
  			array_splice($this->array, $index, 0, $element);
  		}
  
  		return $this;
  	}
code: public function add($element, $index = null) {
  		if ($index === null) {
  			$this->array[$this->count()] = $element;
  		} else {
  			array_splice($this->array, $index, 0, $element);
  		}
  
  		return $this;
  	}
code_tokens: public function add ( $ element , $ index = null ) { if ( $ index === null ) { $ this -> array [ $ this -> count ( ) ] = $ element ; } else { array_splice ( $ this -> array , $ index , 0 , $ element ) ; } return $ this ; }
docstring: Adds an element to that array
  
  @param mixed $element
  @param int $index
  @return $this
docstring_tokens: Adds an element to that array