Skip to content

Commit 571a9c6

Browse files
authored
Update static parameters to match constructor of Analytics.php (#99)
This should remove confusion from copying the readme code directly.
2 parents 6a18e2e + b4a4049 commit 571a9c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Analytics.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@ public function post(): void
193193
}
194194
}
195195

196-
public static function new(string $measurementId, string $apiSecret, bool $debug = false): static
196+
public static function new(string $measurement_id, string $api_secret, bool $debug = false): static
197197
{
198-
return new static($measurementId, $apiSecret, $debug);
198+
return new static($measurement_id, $api_secret, $debug);
199199
}
200200

201201
/**

0 commit comments

Comments
 (0)