Skip to content

Commit 06a4eba

Browse files
Do not replace existing tags in NetteSessionIntegration (#9)
1 parent 2df2ab7 commit 06a4eba

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: src/Integration/NetteSessionIntegration.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ public function setup(HubInterface $hub, Event $event, EventHint $hint): ?Event
5454
);
5555

5656
if (PHP_SAPI !== 'cli') {
57-
$event->setTags([
58-
$session->getName() => $session->getId(),
59-
]);
57+
$event->setTag($session->getName(), $session->getId());
6058
}
6159

6260
return $event;

0 commit comments

Comments
 (0)