Skip to content

Commit

Permalink
Merge branch 'arguments-table' into badges
Browse files Browse the repository at this point in the history
  • Loading branch information
xepozz authored Jul 2, 2024
2 parents df54905 + 1da2163 commit 46229b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Renderer/HtmlRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ public function argumentsToString(array $args, bool $truncate = true): string
}

if (is_object($value)) {
$args[$key] = '<span class="title">' . $this->htmlEncode($this->removeAnonymous($value::class)) . '</span>';
$args[$key] = '<span class="title">' . $this->htmlEncode($this->removeAnonymous($value::class) . '#' . spl_object_id($value)) . '</span>';
} elseif (is_bool($value)) {
$args[$key] = '<span class="keyword">' . ($value ? 'true' : 'false') . '</span>';
} elseif (is_string($value)) {
Expand Down

0 comments on commit 46229b7

Please sign in to comment.