Skip to content

Commit 786c6e4

Browse files
committed
Add extra array cast for DS::Stack
1 parent 5241437 commit 786c6e4

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

src/Bridge/ContextInjector.php

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

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

132134
return $this;

0 commit comments

Comments
 (0)