original_string: public function getNextState()
  	{
  		if( $this->getIsExecuted() )
  			{
  				if ( class_exists( $next = $this->getNextStateClass() ) )
  				{
  					return (new $next );
  				}
  				else
  				{
  					throw new ClassNotFoundException;
  				}
  			}
  			else
  			{
  				return $this;
  			}
  	}
code: public function getNextState()
  	{
  		if( $this->getIsExecuted() )
  			{
  				if ( class_exists( $next = $this->getNextStateClass() ) )
  				{
  					return (new $next );
  				}
  				else
  				{
  					throw new ClassNotFoundException;
  				}
  			}
  			else
  			{
  				return $this;
  			}
  	}
code_tokens: public function getNextState ( ) { if ( $ this -> getIsExecuted ( ) ) { if ( class_exists ( $ next = $ this -> getNextStateClass ( ) ) ) { return ( new $ next ) ; } else { throw new ClassNotFoundException ; } } else { return $ this ; } }
docstring: Return the next state
  
  @throws Jacopo\LaravelImportExport\Exception\ClassNotFoundException
  @return ImportState
docstring_tokens: Return the next state