Skip to content

Commit 9913971

Browse files
committed
inject event contract rather concrete implementation
1 parent b1ea0f6 commit 9913971

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PusherChannel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace NotificationChannels\PusherPushNotifications;
44

5-
use Illuminate\Events\Dispatcher;
5+
use Illuminate\Contracts\Events\Dispatcher;
66
use Illuminate\Notifications\Events\NotificationFailed;
77
use Illuminate\Notifications\Notification;
88
use Pusher\PushNotifications\PushNotifications;
@@ -16,7 +16,7 @@ class PusherChannel
1616
protected $beamsClient;
1717

1818
/**
19-
* @var \Illuminate\Events\Dispatcher
19+
* @var \Illuminate\Contracts\Events\Dispatcher
2020
*/
2121
private $events;
2222

0 commit comments

Comments
 (0)