diff --git a/src/Instrumentation/Laravel/src/HeadersPropagator.php b/src/Instrumentation/Laravel/src/HeadersPropagator.php index f7aa407d..423990e6 100644 --- a/src/Instrumentation/Laravel/src/HeadersPropagator.php +++ b/src/Instrumentation/Laravel/src/HeadersPropagator.php @@ -24,6 +24,7 @@ public static function instance(): self public function keys($carrier): array { assert($carrier instanceof Request); + /** @psalm-suppress InvalidReturnStatement */ return $carrier->headers->keys(); }