diff --git a/src/Adapters/Concerns/HasDefaultTagsTrait.php b/src/Adapters/Concerns/HasDefaultTagsTrait.php index 2b9275b..d607a61 100644 --- a/src/Adapters/Concerns/HasDefaultTagsTrait.php +++ b/src/Adapters/Concerns/HasDefaultTagsTrait.php @@ -15,10 +15,9 @@ public function getDefaultTags(): array } /** - * @param array $tags - * @return void + * @inheritDoc */ - protected function setDefaultTags(array $defaultTags = []): void + public function setDefaultTags(array $defaultTags = []): void { $this->defaultTags = $defaultTags; } diff --git a/src/Adapters/StatsDClientAdapter.php b/src/Adapters/StatsDClientAdapter.php index 65103f5..ccf5328 100644 --- a/src/Adapters/StatsDClientAdapter.php +++ b/src/Adapters/StatsDClientAdapter.php @@ -22,6 +22,12 @@ public function updateStats(array|string $stats, int $delta = 1, $sampleRate = 1 public function getClient(): mixed; + /** + * @param array $tags + * @return void + */ + public function setDefaultTags(array $defaultTags = []): void; + /** * @return array */