@@ -38,7 +38,7 @@ You must install the service provider:
3838// config/app.php
3939'providers' => [
4040 ...
41- NotificationChannels\PusherPushNotifications\Provider ::class,
41+ NotificationChannels\PusherPushNotifications\PusherPushNotificationsServiceProvider ::class,
4242];
4343```
4444
@@ -60,20 +60,20 @@ Before using this package you should set up a Pusher account. Here are the steps
6060Now you can use the channel in your ` via() ` method inside the Notification class.
6161
6262``` php
63- use NotificationChannels\PusherPushNotifications\Channel ;
64- use NotificationChannels\PusherPushNotifications\Message ;
63+ use NotificationChannels\PusherPushNotifications\PusherChannel ;
64+ use NotificationChannels\PusherPushNotifications\PusherMessage ;
6565use Illuminate\Notifications\Notification;
6666
6767class AccountApproved extends Notification
6868{
6969 public function via($notifiable)
7070 {
71- return [Channel ::class];
71+ return [PusherChannel ::class];
7272 }
7373
7474 public function toPushNotification($notifiable)
7575 {
76- return Message ::create()
76+ return PusherMessage ::create()
7777 ->iOS()
7878 ->badge(1)
7979 ->sound('success')
@@ -121,6 +121,7 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
121121- [ Mohamed Said] ( https://github.com/themsaid )
122122- [ Marcel Pociot] ( https://github.com/mpociot )
123123- [ Freek Van der Herten] ( https://github.com/freekmurze )
124+ - [ Sebastian De Deyne] ( https://github.com/sebastiandedeyne )
124125- [ All Contributors] ( ../../contributors )
125126
126127## License
0 commit comments