@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace NotificationChannels\PusherPushNotifications; |
| 4 | 4 | |
| 5 | -use NotificationChannels\PusherPushNotifications\Exceptions\CouldNotSendNotification; |
|
| 5 | +use Illuminate\Notifications\Notification; |
|
| 6 | 6 | use NotificationChannels\PusherPushNotifications\Events\MessageWasSent; |
| 7 | 7 | use NotificationChannels\PusherPushNotifications\Events\SendingMessage; |
| 8 | -use Illuminate\Notifications\Notification; |
|
| 8 | +use NotificationChannels\PusherPushNotifications\Exceptions\CouldNotSendNotification; |
|
| 9 | 9 | use Pusher; |
| 10 | 10 | |
| 11 | 11 | class Channel |
@@ -68,6 +68,7 @@ |
||
| 68 | 68 | /** |
| 69 | 69 | * Check if we can send the notification. |
| 70 | 70 | * |
| 71 | + * @param Notification $notification |
|
| 71 | 72 | * @return bool |
| 72 | 73 | */ |
| 73 | 74 | private function shouldSendMessage($notifiable, $notification) |