File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 22
33namespace CSlant \LaravelTelegramGitNotifier \Http \Actions ;
44
5+ use CSlant \LaravelTelegramGitNotifier \Services \NotificationService ;
56use CSlant \TelegramGitNotifier \Bot ;
67use CSlant \TelegramGitNotifier \Exceptions \ConfigFileException ;
78use CSlant \TelegramGitNotifier \Exceptions \InvalidViewTemplateException ;
89use CSlant \TelegramGitNotifier \Exceptions \MessageIsEmptyException ;
910use CSlant \TelegramGitNotifier \Exceptions \SendNotificationException ;
1011use CSlant \TelegramGitNotifier \Notifier ;
11- use CSlant \LaravelTelegramGitNotifier \Services \NotificationService ;
1212use GuzzleHttp \Client ;
1313use Symfony \Component \HttpFoundation \Request ;
1414use Telegram ;
@@ -45,8 +45,10 @@ public function __construct()
4545 */
4646 public function __invoke (): void
4747 {
48- $ sendNotification = new NotificationService ($ this ->notifier ,
49- $ this ->bot ->setting );
48+ $ sendNotification = new NotificationService (
49+ $ this ->notifier ,
50+ $ this ->bot ->setting
51+ );
5052 $ sendNotification ->handle ();
5153 }
5254}
You can’t perform that action at this time.
0 commit comments