Skip to content

Commit 268e72d

Browse files
committed
wip
1 parent 0ec5860 commit 268e72d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/Tracing/PropagationContext.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ private static function parseTraceparentAndBaggage(string $traceparent, string $
198198
// Always check if the received org ID in the baggages matches
199199
// the one configured in the SDK.
200200
if (
201-
$orgId !== null &&
202-
$samplingContext->has('org_id') &&
203-
$samplingContext->get('org_id') !== (string) $orgId
201+
$orgId !== null
202+
&& $samplingContext->has('org_id')
203+
&& $samplingContext->get('org_id') !== (string) $orgId
204204
) {
205205
// We do not continue the trace.
206206
return $context;

src/Tracing/TransactionContext.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ private static function parseTraceAndBaggage(string $sentryTrace, string $baggag
160160
// Always check if the received org ID in the baggages matches
161161
// the one configured in the SDK.
162162
if (
163-
$orgId !== null &&
164-
$samplingContext->has('org_id') &&
165-
$samplingContext->get('org_id') !== (string) $orgId
163+
$orgId !== null
164+
&& $samplingContext->has('org_id')
165+
&& $samplingContext->get('org_id') !== (string) $orgId
166166
) {
167167
// We do not continue the trace.
168168
return $context;

0 commit comments

Comments
 (0)