Skip to content

Commit bfbfad7

Browse files
authored
fix: add Override attribute to ServerTiming (open-telemetry#342)
* fix: add Override attribute * fix: ignore missing attribute
1 parent 37c4768 commit bfbfad7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Propagation/ServerTiming/src/ServerTimingPropagator.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ public function fields(): array
3030
];
3131
}
3232

33+
/**
34+
* @suppress PhanUndeclaredClassAttribute
35+
*/
36+
#[\Override]
3337
public function inject(&$carrier, ?PropagationSetterInterface $setter = null, ?ContextInterface $context = null): void
3438
{
3539
$setter = $setter ?? ArrayAccessGetterSetter::getInstance();

0 commit comments

Comments
 (0)