public function visit(Notification $notification, Request $request): Request
    {
        $priority = $notification->getPriority();

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

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

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

        return $request;
    }
{@inheritdoc}