diff options
author | Paramtamtam <[email protected]> | 2019-12-25 23:00:22 +0500 |
---|---|---|
committer | Paramtamtam <[email protected]> | 2019-12-25 23:00:22 +0500 |
commit | 4016bdf2d53faca43408dd28b0809a45d508d338 (patch) | |
tree | 2eda37a4a0c4b5b65ad9a0df067f466be9778707 /src/Metrics.php | |
parent | 2e0f9fac31764ff137ff0e1a03bfc332f94e1e0f (diff) |
PHP sources updated (phpstan level MAX)
Diffstat (limited to 'src/Metrics.php')
-rw-r--r-- | src/Metrics.php | 32 |
1 files changed, 4 insertions, 28 deletions
diff --git a/src/Metrics.php b/src/Metrics.php index 6fe4c4f5..d6b6e1da 100644 --- a/src/Metrics.php +++ b/src/Metrics.php @@ -31,13 +31,7 @@ final class Metrics implements MetricsInterface } /** - * Add collector value. Fallback to appropriate method of related collector. - * - * @param string $name - * @param float $value - * @param array $labels - * - * @throws MetricException + * @inheritDoc */ public function add(string $name, float $value, array $labels = []): void { @@ -49,13 +43,7 @@ final class Metrics implements MetricsInterface } /** - * Subtract the collector value, only for gauge collector. - * - * @param string $name - * @param float $value - * @param array $labels - * - * @throws MetricException + * @inheritDoc */ public function sub(string $name, float $value, array $labels = []): void { @@ -67,13 +55,7 @@ final class Metrics implements MetricsInterface } /** - * Observe collector value, only for histogram and summary collectors. - * - * @param string $name - * @param float $value - * @param array $labels - * - * @throws MetricException + * @inheritDoc */ public function observe(string $name, float $value, array $labels = []): void { @@ -85,13 +67,7 @@ final class Metrics implements MetricsInterface } /** - * Set collector value, only for gauge collector. - * - * @param string $name - * @param float $value - * @param array $labels - * - * @throws MetricException + * @inheritDoc */ public function set(string $name, float $value, array $labels = []): void { |