src/Viserio/Component/Mail/Message.php
protected function addAddresses($address, string $name, string $type): void
    {
        if (\is_array($address)) {
            $set = \sprintf('set%s', $type);
            $this->swift->{$set}($address, $name);

            return;
        }

        $add = \sprintf('add%s', $type);
        $this->swift->{$add}($address, $name);
    }
protected function addAddresses($address, string $name, string $type): void
    {
        if (\is_array($address)) {
            $set = \sprintf('set%s', $type);
            $this->swift->{$set}($address, $name);

            return;
        }

        $add = \sprintf('add%s', $type);
        $this->swift->{$add}($address, $name);
    }
Add a recipient to the message.

@param array|string $address
@param string       $name
@param string       $type

@return void