Skip to content

Commit afc82e8

Browse files
committed
Hot fix
1 parent 4459a87 commit afc82e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Notifications/Slack.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Binarcode\LaravelDeveloper\Notifications;
44

5-
use App\Notifications\OrderPlacedNotification;
65
use Binarcode\LaravelDeveloper\Dtos\DevNotificationDto;
76
use Binarcode\LaravelDeveloper\Models\ExceptionLog;
87
use Binarcode\LaravelDeveloper\Telescope\TelescopeDev;
@@ -97,11 +96,12 @@ private function send($item)
9796
NotificationFacade::route('slack', $this->guessChannel())->notify(
9897
$item
9998
);
99+
100+
return $this;
100101
}
101102

102103
$notification = new $class($dto);
103104

104-
105105
if (is_callable($cb = static::$notifyUsing)) {
106106
return call_user_func($cb, $notification);
107107
}

0 commit comments

Comments
 (0)