src/Viserio/Component/Session/Handler/PdoSessionHandler.php
public function updateTimestamp($sessionId, $data): bool
    {
        try {
            $updateStmt = $this->pdo->prepare(
                "UPDATE {$this->table} SET {$this->lifetimeCol} = :lifetime, {$this->timeCol} = :time WHERE {$this->idCol} = :id"
            );
            $updateStmt->bindParam(':id', $sessionId, \PDO::PARAM_STR);
            $updateStmt->bindParam(':lifetime', $this->lifetime, \PDO::PARAM_INT);
            $updateStmt->bindValue(':time', \time(), \PDO::PARAM_INT);
            $updateStmt->execute();
        } catch (PDOException $e) {
            $this->rollback();

            throw $e;
        }

        return true;
    }
public function updateTimestamp($sessionId, $data): bool
    {
        try {
            $updateStmt = $this->pdo->prepare(
                "UPDATE {$this->table} SET {$this->lifetimeCol} = :lifetime, {$this->timeCol} = :time WHERE {$this->idCol} = :id"
            );
            $updateStmt->bindParam(':id', $sessionId, \PDO::PARAM_STR);
            $updateStmt->bindParam(':lifetime', $this->lifetime, \PDO::PARAM_INT);
            $updateStmt->bindValue(':time', \time(), \PDO::PARAM_INT);
            $updateStmt->execute();
        } catch (PDOException $e) {
            $this->rollback();

            throw $e;
        }

        return true;
    }
{@inheritdoc}

@throws \PDOException