style fixing

This commit is contained in:
Roberto Guagliardo
2025-07-09 02:37:23 +02:00
parent ca5719474c
commit 195f20bb69
23 changed files with 68 additions and 51 deletions

View File

@@ -14,10 +14,15 @@ class NotifyTelegramAboutContactMessage implements ShouldQueue
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
protected string $name;
protected string $message;
protected string $ip;
protected string $userAgent;
protected string $email;
protected string $phone;
public function __construct(string $name, string $message, string $ip, string $userAgent, ?string $email = null, ?string $phone = null)
@@ -30,7 +35,6 @@ class NotifyTelegramAboutContactMessage implements ShouldQueue
$this->phone = $phone;
}
public function handle()
{
$email = $this->email ?? '';
@@ -51,7 +55,7 @@ class NotifyTelegramAboutContactMessage implements ShouldQueue
🕒 Tijdstip: *{now()->format('d-m-Y H:i')}*
TEXT;
Http::post("https://api.telegram.org/bot" . config('services.telegram.bot_token') . "/sendMessage", [
Http::post('https://api.telegram.org/bot'.config('services.telegram.bot_token').'/sendMessage', [
'chat_id' => config('services.telegram.chat_id'),
'text' => $text,
'parse_mode' => 'Markdown',