src/Protocol/Http/Visitor/AddCollapseIdHeaderVisitor.php
public function visit(Notification $notification, Request $request): Request
    {
        $collapseId = $notification->getCollapseId();

        if ($collapseId) {
            $request = $request->withHeader('apns-collapse-id', $collapseId->getValue());
        }

        return $request;
    }
public function visit(Notification $notification, Request $request): Request
    {
        $collapseId = $notification->getCollapseId();

        if ($collapseId) {
            $request = $request->withHeader('apns-collapse-id', $collapseId->getValue());
        }

        return $request;
    }
{@inheritdoc}