Skip to content

Commit ca696ad

Browse files
committed
Fixed dependencies
1 parent 07f77f6 commit ca696ad

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/Bridge/ContextInjector.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
namespace Jaeger\Symfony\Bridge;
55

6-
use Ds\Stack;
76
use Jaeger\Codec\CodecInterface;
87
use Jaeger\Codec\CodecRegistry;
98
use Jaeger\Http\HttpCodeTag;
@@ -45,7 +44,7 @@ class ContextInjector implements EventSubscriberInterface
4544
private $headerName;
4645

4746
public function __construct(
48-
Stack $stack,
47+
\SplStack $stack,
4948
InjectableInterface $injectable,
5049
TracerInterface $tracer,
5150
CodecRegistry $registry,

src/Resources/config/services.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ parameters:
77
env(jaeger_context_env): 'UBER_TRACE_ID'
88
env(jaeger_context_header): 'uber-trace-id'
99
services:
10-
ds.stack:
11-
class: Ds\Stack
10+
spl.stack:
11+
class: \SplStack
1212
shared: false
1313
id.generator.random:
1414
class: Jaeger\Id\RandomIntGenerator
@@ -58,11 +58,11 @@ services:
5858
thrift.transport: '@thrift.transport.buffered'
5959
jaeger.tracer:
6060
class: Jaeger\Tracer\Tracer
61-
arguments: ['@ds.stack', '@jaeger.span.factory', '@client.thrift']
61+
arguments: ['@spl.stack', '@jaeger.span.factory', '@client.thrift']
6262
jaeger.context.injector:
6363
class: Jaeger\Symfony\Bridge\ContextInjector
6464
arguments:
65-
- '@ds.stack'
65+
- '@spl.stack'
6666
- '@jaeger.tracer'
6767
- '@jaeger.tracer'
6868
- '@jaeger.codec.registry'

0 commit comments

Comments
 (0)