Closed AhmedNourJamalElDin closed 1 year ago
Hello,
When sending an SMS to a phone number only using AfricasTalkingChannel::class, it throws an exception because AnonymousNotifiable's routes array has AfricasTalkingChannel::class whereas it does not have africasTalking.
AfricasTalkingChannel::class
africasTalking
Notification::route(AfricasTalkingChannel::class, '+11111')->send(new SomeNotification())
However, the channel only supports the string format i.e. africasTalking.
This PR adds this ability.
@AhmedNourJamalElDin thanks!
Hello,
When sending an SMS to a phone number only using
AfricasTalkingChannel::class
, it throws an exception because AnonymousNotifiable's routes array hasAfricasTalkingChannel::class
whereas it does not haveafricasTalking
.However, the channel only supports the string format i.e.
africasTalking
.This PR adds this ability.