Skip to content

Commit 25fa5ad

Browse files
authored
Update static parameters to match constructor of Analytics.php
This should remove confusion from copying the readme code directly.
1 parent 6a18e2e commit 25fa5ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Analytics.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ 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
{
198198
return new static($measurementId, $apiSecret, $debug);
199199
}

0 commit comments

Comments
 (0)