Skip to content

Commit c4c7156

Browse files
author
Kirill Nesmeyanov
committed
Improve tracing code
1 parent 71934e8 commit c4c7156

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Runtime/Repository/TraceableTypeRepository/TraceableType.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ private static function getCurrentPath(Context $context): string
7272

7373
public function match(mixed $value, Context $context): bool
7474
{
75-
$span = $this->tracer->start(\vsprintf('Type matching [%s at %s]', [
75+
$span = $this->tracer->start(\vsprintf('Type matching %s at "%s"', [
7676
$this->name,
7777
self::getCurrentPath($context),
7878
]));
@@ -94,7 +94,7 @@ public function match(mixed $value, Context $context): bool
9494

9595
public function cast(mixed $value, Context $context): mixed
9696
{
97-
$span = $this->tracer->start(\vsprintf('Type casting [%s at %s]', [
97+
$span = $this->tracer->start(\vsprintf('Type casting %s at "%s"', [
9898
$this->name,
9999
self::getCurrentPath($context),
100100
]));

0 commit comments

Comments
 (0)