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

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

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

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

        return $request;
    }
{@inheritdoc}