From 06a4eba3a7d022ae7a36eafda338bd0dca1a8250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bedn=C3=A1=C5=99?= Date: Mon, 11 Sep 2023 14:15:15 +0200 Subject: [PATCH] Do not replace existing tags in NetteSessionIntegration (#9) --- src/Integration/NetteSessionIntegration.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Integration/NetteSessionIntegration.php b/src/Integration/NetteSessionIntegration.php index d232005..64f6c05 100644 --- a/src/Integration/NetteSessionIntegration.php +++ b/src/Integration/NetteSessionIntegration.php @@ -54,9 +54,7 @@ public function setup(HubInterface $hub, Event $event, EventHint $hint): ?Event ); if (PHP_SAPI !== 'cli') { - $event->setTags([ - $session->getName() => $session->getId(), - ]); + $event->setTag($session->getName(), $session->getId()); } return $event;