Skip to content

Commit 8d13be0

Browse files
authored
add missing typehint
1 parent bf31987 commit 8d13be0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/PusherChannel.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,12 @@ protected function interestName($notifiable)
6969
/**
7070
* Check if we can send the notification.
7171
*
72+
* @param mixed $notifiable
73+
* @param \Illuminate\Notifications\Notification $notification
74+
*
7275
* @return bool
7376
*/
74-
protected function shouldSendMessage($notifiable, $notification)
77+
protected function shouldSendMessage($notifiable, Notification $notification)
7578
{
7679
return event(new SendingMessage($notifiable, $notification), [], true) !== false;
7780
}

0 commit comments

Comments
 (0)