Skip to content

Commit

Permalink
fix css class
Browse files Browse the repository at this point in the history
  • Loading branch information
rodber committed Jun 3, 2024
1 parent 337ba6c commit 523b005
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ private function handleBacktrace(): void
new ThrowableHandlerHtmlFormat()
);
$this->body .= <<<HTML
<div class="backtrace">{$trace->__toString()}</div>
<div class="xrdebug-backtrace">{$trace->__toString()}</div>
HTML;
}
}
2 changes: 1 addition & 1 deletion tests/MessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public function testWithBacktraceFlag(): void
$withBacktraceFlag = $message->withFlags(XR_BACKTRACE);
$this->assertNotSame($message, $withBacktraceFlag);
$this->assertTrue($withBacktraceFlag->isEnableBacktrace());
$expected = $body . '<div class="backtrace">';
$expected = $body . '<div class="xrdebug-backtrace">';
$this->assertStringContainsString(
$expected,
$withBacktraceFlag->toArray()['body']
Expand Down

0 comments on commit 523b005

Please sign in to comment.