From ea7b71df0d03ff816afb7e6ff431c8b7e9d4f19a Mon Sep 17 00:00:00 2001 From: Luc Vieillescazes Date: Tue, 30 Apr 2024 11:22:32 +0200 Subject: [PATCH] Fix stubs --- ext/ddtrace.stub.php | 22 +++++++++++++++++++++- ext/ddtrace_arginfo.h | 2 +- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/ext/ddtrace.stub.php b/ext/ddtrace.stub.php index ab5c0a7a7a9..3f30664b8c5 100644 --- a/ext/ddtrace.stub.php +++ b/ext/ddtrace.stub.php @@ -623,26 +623,46 @@ function curl_multi_exec_get_request_spans(&$array): void {} /** * Update a DogStatsD counter + * + * @param string $metric The metric name + * @param int $value The metric value + * @param array $tags A list of tags associated to the metric */ function dogstatsd_count(string $metric, int $value, array $tags = []): void {} /** * Update a DogStatsD distribution + * + * @param string $metric The metric name + * @param float $value The metric value + * @param array $tags A list of tags associated to the metric */ function dogstatsd_distribution(string $metric, float $value, array $tags = []): void {} /** * Update a DogStatsD gauge + * + * @param string $metric The metric name + * @param float $value The metric value + * @param array $tags A list of tags associated to the metric */ function dogstatsd_gauge(string $metric, float $value, array $tags = []): void {} /** - * Update a DogStatsD distribution + * Update a DogStatsD histogram + * + * @param string $metric The metric name + * @param float $value The metric value + * @param array $tags A list of tags associated to the metric */ function dogstatsd_histogram(string $metric, float $value, array $tags = []): void {} /** * Update a DogStatsD set + * + * @param string $metric The metric name + * @param int $value The metric value + * @param array $tags A list of tags associated to the metric */ function dogstatsd_set(string $metric, int $value, array $tags = []): void {} } diff --git a/ext/ddtrace_arginfo.h b/ext/ddtrace_arginfo.h index 00e8fda764d..69aef5b85f9 100644 --- a/ext/ddtrace_arginfo.h +++ b/ext/ddtrace_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 4a8fe457d712239387e789a8b07d15c7d25d9bd4 */ + * Stub hash: 00ffdbf5cdef5e8af554d139b0bfb22c856d7654 */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_DDTrace_trace_method, 0, 3, _IS_BOOL, 0) ZEND_ARG_TYPE_INFO(0, className, IS_STRING, 0)