We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c14c3b commit e44f4e4Copy full SHA for e44f4e4
1 file changed
src/DDTrace/OpenTelemetry/Context.php
@@ -62,9 +62,9 @@ public static function setStorage(ContextStorageInterface $storage): void
62
public static function storage(): ContextStorageInterface
63
{
64
if (self::$storageClass === '') {
65
- self::$storageClass = class_exists('\OpenTelemetry\Context\FiberBoundContextStorageExecutionAwareBC')
66
- ? '\OpenTelemetry\Context\FiberBoundContextStorageExecutionAwareBC' // v1.1+
67
- : '\OpenTelemetry\Context\ContextStorage';
+ self::$storageClass = class_exists('OpenTelemetry\Context\FiberBoundContextStorageExecutionAwareBC')
+ ? 'OpenTelemetry\Context\FiberBoundContextStorageExecutionAwareBC' // v1.1+
+ : 'OpenTelemetry\Context\ContextStorage';
68
}
69
70
return self::$storage ??= new self::$storageClass();
0 commit comments