Skip to content

Commit ed415ff

Browse files
committed
fix: update default value for CONTEXT_STACK_KEY to null
1 parent a07b0fd commit ed415ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sentry/src/SentryServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function boot(): void
3535
/* @phpstan-ignore-next-line */
3636
Coroutine::afterCreated(function () {
3737
$keys = [
38-
Hub::CONTEXT_STACK_KEY => [],
38+
Hub::CONTEXT_STACK_KEY => null,
3939
];
4040
foreach ($keys as $key => $default) {
4141
Context::set($key, Context::get($key, $default, Coroutine::parentId()));

0 commit comments

Comments
 (0)