From ab9f97467947cb570c87f68377ae5b6f44bd9523 Mon Sep 17 00:00:00 2001 From: Ferror Date: Sun, 28 Jul 2024 18:35:25 +0200 Subject: [PATCH] chore: add phpdocs for constructor config --- src/DogStatsd.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/DogStatsd.php b/src/DogStatsd.php index 9c848d8..20d39f3 100644 --- a/src/DogStatsd.php +++ b/src/DogStatsd.php @@ -70,9 +70,19 @@ class DogStatsd * datadog_host, * global_tags, * decimal_precision, - * metric_prefix + * metric_prefix, + * disable_telemetry * - * @param array $config + * @param array{ + * host: string, + * port: int, + * socket_path: string, + * datadog_host: string, + * global_tags: string[], + * decimal_precision: int, + * metric_prefix: string, + * disable_telemetry: bool + * } $config */ public function __construct(array $config = array()) {