Skip to content

Commit d36f4b5

Browse files
committed
ICL: HtmlFormatter continued.
1 parent c6efc35 commit d36f4b5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Log/HtmlFormatter.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ protected function composeTitle(array $record)
7070
return $title;
7171
}
7272

73-
$environment = e($environment);
73+
$environment = e(str_upper($environment));
7474
$title .= '<style>.title { padding-bottom: 0px !important; } .subtitle { padding-top: 0px !important; }</style>';
7575
$title .= "<h3 class='subtitle'>This notification was sent from `{$environment}` environment!</h3>";
7676

@@ -87,7 +87,6 @@ protected function composeDetails(array $record)
8787
$details .= $this->composeRow('Context', $context);
8888
}
8989
$details .= $this->composeRow('Time', $record['datetime']->format($this->dateFormat));
90-
$details .= $this->composeRow('Environment', app()->environment());
9190

9291
$details .= '</table>';
9392

0 commit comments

Comments
 (0)