Skip to content

Commit

Permalink
Ensure properties are initialized correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeTowers committed Dec 14, 2023
1 parent 84f90a0 commit 9f44020
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GA4.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ class GA4

protected bool $debugging = false;

protected string $eventAction;
protected string $eventAction = '';

protected array $eventParams;
protected array $eventParams = [];

/**
* @see https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference?client_type=gtag#reserved_event_names
Expand Down

0 comments on commit 9f44020

Please sign in to comment.