src/Viserio/Component/Cookie/CookieJar.php
public function queue(...$arguments): void
    {
        if (\reset($arguments) instanceof CookieContract) {
            $cookie = \reset($arguments);
        } else {
            $cookie = $this->create(...$arguments);
        }

        $this->queued[$cookie->getName()] = $cookie;
    }
public function queue(...$arguments): void
    {
        if (\reset($arguments) instanceof CookieContract) {
            $cookie = \reset($arguments);
        } else {
            $cookie = $this->create(...$arguments);
        }

        $this->queued[$cookie->getName()] = $cookie;
    }
{@inheritdoc}