diff --git a/src/Metrics/Metrics.php b/src/Metrics/Metrics.php index e8c6a6374..2c9d8c504 100644 --- a/src/Metrics/Metrics.php +++ b/src/Metrics/Metrics.php @@ -40,12 +40,11 @@ public static function getInstance(): self } /** - * @param int|float $value * @param array $tags */ public function increment( string $key, - $value, + float $value, ?MetricsUnit $unit = null, array $tags = [], ?int $timestamp = null, @@ -63,12 +62,11 @@ public function increment( } /** - * @param int|float $value * @param array $tags */ public function distribution( string $key, - $value, + float $value, ?MetricsUnit $unit = null, array $tags = [], ?int $timestamp = null, @@ -86,12 +84,11 @@ public function distribution( } /** - * @param int|float $value * @param array $tags */ public function gauge( string $key, - $value, + float $value, ?MetricsUnit $unit = null, array $tags = [], ?int $timestamp = null,