Skip to content

Commit d82f853

Browse files
committed
suppress phpstan warning for spanBuilder()
1 parent edb53c7 commit d82f853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Instrumentation/AwsSdk/AwsSdkInstrumentation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function activate(): bool
9494

9595
$carrier = [];
9696
/** @phan-suppress-next-line PhanTypeMismatchArgument */
97-
$this->span = $tracer->spanBuilder($this->clientName)->setSpanKind(AwsSdkInstrumentation::SPAN_KIND)->startSpan();
97+
$this->span = $tracer->spanBuilder($this->clientName)->setSpanKind(AwsSdkInstrumentation::SPAN_KIND)->startSpan(); //@phpstan-ignore-line
9898
$this->scope = $this->span->activate();
9999

100100
$propagator->inject($carrier);

0 commit comments

Comments
 (0)