Skip to content

Commit

Permalink
Update TestWebklex command
Browse files Browse the repository at this point in the history
  • Loading branch information
freescout-help-desk committed May 16, 2024
1 parent 80118d5 commit cedf4de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/Console/Commands/TestWebklex.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ public function handle()
$this->info($message->getHeader()->raw);
$this->line('From: ');
$this->info(json_encode($message->getFrom()[0] ?? [], JSON_UNESCAPED_UNICODE));
$this->line('In-Reply-To: ');
$this->info($message->getInReplyTo());
$this->line('References: ');
$this->info(json_encode(array_values(array_filter(preg_split('/[, <>]/', $message->getReferences() ?? []))), JSON_UNESCAPED_UNICODE));
$this->line('Subject: ');
$this->info($message->getSubject());
$this->line('Text Body: ');
Expand Down

0 comments on commit cedf4de

Please sign in to comment.