diff --git a/src/Internal/CallContext.php b/src/Internal/CallContext.php index 0db223b..7285ef1 100644 --- a/src/Internal/CallContext.php +++ b/src/Internal/CallContext.php @@ -29,6 +29,13 @@ public function __construct( */ public static function decode(string $payload): self { + /** + * @psalm-var array{ + * service: class-string, + * method: non-empty-string, + * context: array> + * } $data + */ $data = Json::decode($payload); return new self(