You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Exceptions/CouldNotSendNotification.php
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,14 @@ public static function serviceRespondedWithAnException($exception)
24
24
*/
25
25
publicstaticfunctioninvalidMessageObject($class)
26
26
{
27
-
returnnewstatic("Message object class `{$class}` is invalid. It should be either `".SmsMessage::class.'` or `'.CallMessage::class.'`');
27
+
returnnewstatic("Notification was not sent. Message object class `{$class}` is invalid. It should be either `".SmsMessage::class.'` or `'.CallMessage::class.'`');
28
+
}
29
+
30
+
/**
31
+
* @return static
32
+
*/
33
+
publicstaticfunctionmissingFrom()
34
+
{
35
+
returnnewstatic("Notification was not sent. Missing `from` number.");
0 commit comments