From afc82e8a10da03d24d4a170233014f433de9bde6 Mon Sep 17 00:00:00 2001 From: Eduard Lupacescu Date: Wed, 30 Jun 2021 15:52:38 +0300 Subject: [PATCH] Hot fix --- src/Notifications/Slack.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Notifications/Slack.php b/src/Notifications/Slack.php index 58b0a8c..e112f0b 100644 --- a/src/Notifications/Slack.php +++ b/src/Notifications/Slack.php @@ -2,7 +2,6 @@ namespace Binarcode\LaravelDeveloper\Notifications; -use App\Notifications\OrderPlacedNotification; use Binarcode\LaravelDeveloper\Dtos\DevNotificationDto; use Binarcode\LaravelDeveloper\Models\ExceptionLog; use Binarcode\LaravelDeveloper\Telescope\TelescopeDev; @@ -97,11 +96,12 @@ private function send($item) NotificationFacade::route('slack', $this->guessChannel())->notify( $item ); + + return $this; } $notification = new $class($dto); - if (is_callable($cb = static::$notifyUsing)) { return call_user_func($cb, $notification); }