original_string: public function replaceCurrent($value)
  	{
  		$key = $this->getLastKey();
  		if($key >= 0)
  		{
  			$this->getStateArray()->offsetSet($key,$value);
  		}
  		else
  		{
  			throw new NoDataException;
  		}
  	}
code: public function replaceCurrent($value)
  	{
  		$key = $this->getLastKey();
  		if($key >= 0)
  		{
  			$this->getStateArray()->offsetSet($key,$value);
  		}
  		else
  		{
  			throw new NoDataException;
  		}
  	}
code_tokens: public function replaceCurrent ( $ value ) { $ key = $ this -> getLastKey ( ) ; if ( $ key >= 0 ) { $ this -> getStateArray ( ) -> offsetSet ( $ key , $ value ) ; } else { throw new NoDataException ; } }
docstring: Replace the current state
docstring_tokens: Replace the current state