diff --git a/notifications.md b/notifications.md index 69a90883b1e..f0c59ffe57a 100644 --- a/notifications.md +++ b/notifications.md @@ -254,9 +254,10 @@ When sending notifications via the `mail` channel, the notification system will /** * Route notifications for the mail channel. * + * @param \Illuminate\Notifications\Notification $notification * @return string */ - public function routeNotificationForMail() + public function routeNotificationForMail($notification) { return $this->email_address; } @@ -622,9 +623,10 @@ When sending notifications via the `nexmo` channel, the notification system will /** * Route notifications for the Nexmo channel. * + * @param \Illuminate\Notifications\Notification $notification * @return string */ - public function routeNotificationForNexmo() + public function routeNotificationForNexmo($notification) { return $this->phone; } @@ -798,9 +800,10 @@ To route Slack notifications to the proper location, define a `routeNotification /** * Route notifications for the Slack channel. * + * @param \Illuminate\Notifications\Notification $notification * @return string */ - public function routeNotificationForSlack() + public function routeNotificationForSlack($notification) { return $this->slack_webhook_url; }