We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4459a87 commit afc82e8Copy full SHA for afc82e8
src/Notifications/Slack.php
@@ -2,7 +2,6 @@
2
3
namespace Binarcode\LaravelDeveloper\Notifications;
4
5
-use App\Notifications\OrderPlacedNotification;
6
use Binarcode\LaravelDeveloper\Dtos\DevNotificationDto;
7
use Binarcode\LaravelDeveloper\Models\ExceptionLog;
8
use Binarcode\LaravelDeveloper\Telescope\TelescopeDev;
@@ -97,11 +96,12 @@ private function send($item)
97
96
NotificationFacade::route('slack', $this->guessChannel())->notify(
98
$item
99
);
+
100
+ return $this;
101
}
102
103
$notification = new $class($dto);
104
-
105
if (is_callable($cb = static::$notifyUsing)) {
106
return call_user_func($cb, $notification);
107
0 commit comments