Skip to content

Commit

Permalink
pass notification
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Dec 2, 2017
1 parent 94a8592 commit a9ccc27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Notifications/RoutesNotifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function notifyNow($instance, array $channels = null)
public function routeNotificationFor($driver, $notification = null)
{
if (method_exists($this, $method = 'routeNotificationFor'.Str::studly($driver))) {
return $this->{$method}();
return $this->{$method}($notification);
}

switch ($driver) {
Expand Down

0 comments on commit a9ccc27

Please sign in to comment.