Skip to content

Commit b258443

Browse files
committed
ICL: HtmlFormatter continued.
1 parent 0a04fe8 commit b258443

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Log/HtmlFormatter.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ protected function composeDetails(array $record)
8383
$details .= $this->composeRow('Message', (string) $record['message']);
8484

8585
if (!empty($record['context'])) {
86-
$embeddedTable = '<table cellspacing="1" width="100%">';
86+
$contextTable = '<table cellspacing="1" width="100%">';
8787
foreach ($record['context'] as $key => $value) {
88-
$embeddedTable .= $this->composeRow($key, $this->convertToString($value));
88+
$contextTable .= $this->composeRow($key, $this->convertToString($value));
8989
}
90-
$embeddedTable .= '</table>';
91-
$details .= $this->composeRow('Context', $embeddedTable, false);
90+
$contextTable .= '</table>';
91+
$details .= $this->composeRow('Context', $contextTable, false);
9292
}
9393

9494
$details .= $this->composeRow('Time', $record['datetime']->format($this->dateFormat));

0 commit comments

Comments
 (0)