original_string: public function destroy()
      {
          foreach (self::$connectionList as $dbDriver) {
              if (self::$transaction) {
                  $dbDriver->commitTransaction();
              }
          }
          self::$transaction = false;
          self::$connectionList = [];
      }
code: public function destroy()
      {
          foreach (self::$connectionList as $dbDriver) {
              if (self::$transaction) {
                  $dbDriver->commitTransaction();
              }
          }
          self::$transaction = false;
          self::$connectionList = [];
      }
code_tokens: public function destroy ( ) { foreach ( self :: $ connectionList as $ dbDriver ) { if ( self :: $ transaction ) { $ dbDriver -> commitTransaction ( ) ; } } self :: $ transaction = false ; self :: $ connectionList = [ ] ; }
docstring: Destroy all connections
docstring_tokens: Destroy all connections