From c6f0ddfc01fa326da4baf02ffff4d38ead9495d3 Mon Sep 17 00:00:00 2001 From: Ivan Maletic Date: Fri, 1 Aug 2025 14:51:13 +0200 Subject: [PATCH] Fix typo in increment and decrement docblock --- src/Client.php | 4 ++-- src/StatsDClient.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Client.php b/src/Client.php index 79da936..53ff59f 100644 --- a/src/Client.php +++ b/src/Client.php @@ -139,7 +139,7 @@ public function getLastMessage(): string * Increment a metric * * @param string|array $metrics Metric(s) to increment - * @param int $delta Value to decrement the metric by + * @param int $delta Value to increment the metric by * @param float $sampleRate Sample rate of metric * @param array $tags A list of metric tags values * @@ -168,7 +168,7 @@ public function increment($metrics, int $delta = 1, float $sampleRate = 1, array * Decrement a metric * * @param string|array $metrics Metric(s) to decrement - * @param int $delta Value to increment the metric by + * @param int $delta Value to decrement the metric by * @param float $sampleRate Sample rate of metric * @param array $tags A list of metric tags values * diff --git a/src/StatsDClient.php b/src/StatsDClient.php index 090a439..e362257 100644 --- a/src/StatsDClient.php +++ b/src/StatsDClient.php @@ -15,7 +15,7 @@ interface StatsDClient * Increment a metric * * @param string|array $metrics Metric(s) to increment - * @param int $delta Value to decrement the metric by + * @param int $delta Value to increment the metric by * @param float $sampleRate Sample rate of metric * @param array $tags A list of metric tags values * @@ -27,7 +27,7 @@ public function increment($metrics, int $delta = 1, float $sampleRate = 1, array * Decrement a metric * * @param string|array $metrics Metric(s) to decrement - * @param int $delta Value to increment the metric by + * @param int $delta Value to decrement the metric by * @param float $sampleRate Sample rate of metric * @param array $tags A list of metric tags values *