original_string: public function rollBack()
      {
          --$this->transaction_depth;
  
          // This means we rolled something back and now we lost track of commits
          if ($this->transaction_depth < 0) {
              $this->transaction_depth = 0;
          }
  
          if ($this->transaction_depth == 0) {
              return $this->dbh->rollBack();
          }
  
          return false;
      }
code: public function rollBack()
      {
          --$this->transaction_depth;
  
          // This means we rolled something back and now we lost track of commits
          if ($this->transaction_depth < 0) {
              $this->transaction_depth = 0;
          }
  
          if ($this->transaction_depth == 0) {
              return $this->dbh->rollBack();
          }
  
          return false;
      }
code_tokens: public function rollBack ( ) { -- $ this -> transaction_depth ; // This means we rolled something back and now we lost track of commits if ( $ this -> transaction_depth < 0 ) { $ this -> transaction_depth = 0 ; } if ( $ this -> transaction_depth == 0 ) { return $ this -> dbh -> rollBack ( ) ; } return false ; }
docstring: Rollbacks queries since beginTransaction and resets transaction depth.
  
  @see beginTransaction()
  
  @return mixed Don't rely on any meaningful return
docstring_tokens: Rollbacks queries since beginTransaction and resets transaction depth .