Skip to content

Commit 07f77f6

Browse files
committed
Fixed for SplStack::push
1 parent 786c6e4 commit 07f77f6

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

src/Bridge/ContextInjector.php

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,16 +119,14 @@ public function onRequest(GetResponseEvent $event)
119119
}
120120

121121
$this->spans->push(
122-
[
123-
$this->tracer
124-
->start(
125-
$this->getOperationName($request),
126-
[
127-
new HttpMethodTag($request->getMethod()),
128-
new HttpUriTag($request->getRequestUri()),
129-
]
130-
)
131-
]
122+
$this->tracer
123+
->start(
124+
$this->getOperationName($request),
125+
[
126+
new HttpMethodTag($request->getMethod()),
127+
new HttpUriTag($request->getRequestUri()),
128+
]
129+
)
132130
);
133131

134132
return $this;

0 commit comments

Comments
 (0)