src/Viserio/Component/Session/Handler/CookieSessionHandler.php
public function updateTimestamp($sessionId, $data): bool
    {
        $cookies = $this->cookie->getQueuedCookies();
        $cookie  = $cookies[$sessionId] ?? null;

        if ($cookie === null) {
            return false;
        }

        $this->cookie->queue($this->cookie->delete($sessionId));
        // @var CookieContract $cookie
        $this->cookie->queue(
            $cookie->withExpires(
                Chronos::now()->addSeconds($this->lifetime)->getTimestamp()
            )
        );

        return $this->cookie->hasQueued($sessionId);
    }
public function updateTimestamp($sessionId, $data): bool
    {
        $cookies = $this->cookie->getQueuedCookies();
        $cookie  = $cookies[$sessionId] ?? null;

        if ($cookie === null) {
            return false;
        }

        $this->cookie->queue($this->cookie->delete($sessionId));
        // @var CookieContract $cookie
        $this->cookie->queue(
            $cookie->withExpires(
                Chronos::now()->addSeconds($this->lifetime)->getTimestamp()
            )
        );

        return $this->cookie->hasQueued($sessionId);
    }
{@inheritdoc}