Skip to content

Commit

Permalink
Merge pull request #153 from Ferror/phpdoc-improvement
Browse files Browse the repository at this point in the history
chore: add phpdocs for constructor config
  • Loading branch information
vickenty authored Jul 29, 2024
2 parents c35c850 + ab9f974 commit c2c7889
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/DogStatsd.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,19 @@ class DogStatsd
* datadog_host,
* global_tags,
* decimal_precision,
* metric_prefix
* metric_prefix,
* disable_telemetry
*
* @param array $config
* @param array{
* host: string,
* port: int,
* socket_path: string,
* datadog_host: string,
* global_tags: string[],
* decimal_precision: int,
* metric_prefix: string,
* disable_telemetry: bool
* } $config
*/
public function __construct(array $config = array())
{
Expand Down

0 comments on commit c2c7889

Please sign in to comment.