| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class CouldNotSendNotification extends \Exception |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @return static |
||
| 11 | */ |
||
| 12 | 1 | public static function invalidReceiver() |
|
| 13 | { |
||
| 14 | 1 | return new static( |
|
| 15 | 1 | 'The notifiable did not have a receiving phone number. Add a routeNotificationForSns |
|
| 16 | method or one of the conventional attributes to your notifiable.' |
||
| 17 | ); |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param mixed $message |
||
| 22 | * |
||
| 23 | * @return static |
||
| 24 | */ |
||
| 25 | 1 | public static function invalidMessageObject($message) |
|
| 31 | ); |
||
| 32 | } |
||
| 34 |