original_string: protected function updateNodeParent($nodeId, $parent)
      {
          $config = $this->config;
          $this->getFluent()
                  ->update($config['table'])
                  ->set($config['prt'], $parent)
                  ->where($config['id'], $nodeId)
                  ->execute();
      }
code: protected function updateNodeParent($nodeId, $parent)
      {
          $config = $this->config;
          $this->getFluent()
                  ->update($config['table'])
                  ->set($config['prt'], $parent)
                  ->where($config['id'], $nodeId)
                  ->execute();
      }
code_tokens: protected function updateNodeParent ( $ nodeId , $ parent ) { $ config = $ this -> config ; $ this -> getFluent ( ) -> update ( $ config [ 'table' ] ) -> set ( $ config [ 'prt' ] , $ parent ) -> where ( $ config [ 'id' ] , $ nodeId ) -> execute ( ) ; }
docstring: Set node the new parent.
  @param mixed $nodeId
  @param mixed $parent
docstring_tokens: Set node the new parent .