Skip to content

Commit

Permalink
Hot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryk committed Jun 30, 2021
1 parent 4459a87 commit afc82e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Notifications/Slack.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit afc82e8

Please sign in to comment.