src/Storage/PDOConnector.php
public function commit(): bool {
        if ($this->transactionExists) {
            $commited = $this->pdo->commit();
            $this->transactionExists = !$commited;
            return $commited;
        }
        return false;
    }
public function commit(): bool {
        if ($this->transactionExists) {
            $commited = $this->pdo->commit();
            $this->transactionExists = !$commited;
            return $commited;
        }
        return false;
    }
public function commit ( ) : bool { if ( $ this -> transactionExists ) { $ commited = $ this -> pdo -> commit ( ) ; $ this -> transactionExists = ! $ commited ; return $ commited ; } return false ; }
commits a started database transaction
@return bool
commits a started database transaction