original_string: protected function _unmarkInternalTree()
      {
          $config = $this->getConfig();
          $this->_table->updateAll(
              function ($exp) use ($config) {
                  /* @var \Cake\Database\Expression\QueryExpression $exp */
                  $leftInverse = clone $exp;
                  $leftInverse->setConjunction('*')->add('-1');
                  $rightInverse = clone $leftInverse;
  
                  return $exp
                      ->eq($config['leftField'], $leftInverse->add($config['leftField']))
                      ->eq($config['rightField'], $rightInverse->add($config['rightField']));
              },
              function ($exp) use ($config) {
                  /* @var \Cake\Database\Expression\QueryExpression $exp */
                  return $exp->lt($config['leftField'], 0);
              }
          );
      }
code: protected function _unmarkInternalTree()
      {
          $config = $this->getConfig();
          $this->_table->updateAll(
              function ($exp) use ($config) {
                  /* @var \Cake\Database\Expression\QueryExpression $exp */
                  $leftInverse = clone $exp;
                  $leftInverse->setConjunction('*')->add('-1');
                  $rightInverse = clone $leftInverse;
  
                  return $exp
                      ->eq($config['leftField'], $leftInverse->add($config['leftField']))
                      ->eq($config['rightField'], $rightInverse->add($config['rightField']));
              },
              function ($exp) use ($config) {
                  /* @var \Cake\Database\Expression\QueryExpression $exp */
                  return $exp->lt($config['leftField'], 0);
              }
          );
      }
code_tokens: protected function _unmarkInternalTree ( ) { $ config = $ this -> getConfig ( ) ; $ this -> _table -> updateAll ( function ( $ exp ) use ( $ config ) { /* @var \Cake\Database\Expression\QueryExpression $exp */ $ leftInverse = clone $ exp ; $ leftInverse -> setConjunction ( '*' ) -> add ( '-1' ) ; $ rightInverse = clone $ leftInverse ; return $ exp -> eq ( $ config [ 'leftField' ] , $ leftInverse -> add ( $ config [ 'leftField' ] ) ) -> eq ( $ config [ 'rightField' ] , $ rightInverse -> add ( $ config [ 'rightField' ] ) ) ; } , function ( $ exp ) use ( $ config ) { /* @var \Cake\Database\Expression\QueryExpression $exp */ return $ exp -> lt ( $ config [ 'leftField' ] , 0 ) ; } ) ; }
docstring: Helper method used to invert the sign of the left and right columns that are
  less than 0. They were set to negative values before so their absolute value
  wouldn't change while performing other tree transformations.
  
  @return void
docstring_tokens: Helper method used to invert the sign of the left and right columns that are less than 0 . They were set to negative values before so their absolute value wouldn t change while performing other tree transformations .