src/CookieSessionHandler.php
public function write($sessionId, $sessionData) {
        $expire = $this->lifeTime === 0 ? 0 : strtotime('now') + $this->lifeTime;

        $this->cookie = new Cookie(
            $this->name,
            serialize([$expire, $sessionData]),
            $expire,
            $this->path,
            $this->domain,
            $this->secure,
            $this->httpOnly
        );

        return true;
    }
public function write($sessionId, $sessionData) {
        $expire = $this->lifeTime === 0 ? 0 : strtotime('now') + $this->lifeTime;

        $this->cookie = new Cookie(
            $this->name,
            serialize([$expire, $sessionData]),
            $expire,
            $this->path,
            $this->domain,
            $this->secure,
            $this->httpOnly
        );

        return true;
    }
{@inheritdoc}