original_string: public function putNextSibling(Element $element)
  	{
  		if (false !== ($index = $this->getIndex())) {
  			$this->parent->insertChild($element, $index + 1);
  		}
  		
  		return $this;
  	}
code: public function putNextSibling(Element $element)
  	{
  		if (false !== ($index = $this->getIndex())) {
  			$this->parent->insertChild($element, $index + 1);
  		}
  		
  		return $this;
  	}
code_tokens: public function putNextSibling ( Element $ element ) { if ( false !== ( $ index = $ this -> getIndex ( ) ) ) { $ this -> parent -> insertChild ( $ element , $ index + 1 ) ; } return $ this ; }
docstring: Inserts an element after this element
  
  @param  Jstewmc\Rtf\Element\Element  $element  the element to insert
  @return  self
  @throws  BadMethodCallException  if the element doesn't have a parent
  @throws  BadMethodCallException  if the element's parent doesn't have children
  @throws  BadMethodCallException  if the element is not a child of its parent
  @since  0.1.0
docstring_tokens: Inserts an element after this element