Skip to content

Commit a18081f

Browse files
committed
Merge branch '2.0.x' into 1.0.x
2 parents cf6d6ad + f39c0b2 commit a18081f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Context/Extractor/EnvContextExtractor.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
use Jaeger\Codec\CodecRegistry;
77
use Jaeger\Span\Context\SpanContext;
88
use Symfony\Component\Console\ConsoleEvents;
9+
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
910

10-
class EnvContextExtractor implements ContextExtractorInterface
11+
class EnvContextExtractor implements ContextExtractorInterface, EventSubscriberInterface
1112
{
1213
/**
1314
* @var CodecInterface[]

src/Context/Extractor/HeaderContextExtractor.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
use Jaeger\Codec\CodecInterface;
55
use Jaeger\Codec\CodecRegistry;
66
use Jaeger\Span\Context\SpanContext;
7+
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
78
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
89
use Symfony\Component\HttpKernel\HttpKernelInterface;
910
use Symfony\Component\HttpKernel\KernelEvents;
1011

11-
class HeaderContextExtractor implements ContextExtractorInterface
12+
class HeaderContextExtractor implements ContextExtractorInterface, EventSubscriberInterface
1213
{
1314
/**
1415
* @var CodecInterface[]

0 commit comments

Comments
 (0)