private function setGlobalAddress(MailerContract $mailer, string $type): void
    {
        if (! isset($this->resolvedOptions[$type])) {
            return;
        }

        $address = $this->resolvedOptions[$type];

        if (\is_array($address) && isset($address['address'])) {
            $mailer->{'always' . Str::studly($type)}($address['address'], $address['name']);
        }
    }