@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | ->setEventCategory($eventCategory) |
120 | 120 | ->setEventAction($eventAction) |
121 | 121 | ->setEventLabel($eventLabel) |
122 | - ->setEventValue((int)$eventValue); |
|
122 | + ->setEventValue((int) $eventValue); |
|
123 | 123 | $result = $analytics; |
124 | 124 | Craft::info( |
125 | 125 | Craft::t( |
@@ -519,7 +519,7 @@ discard block |
||
519 | 519 | $cid = $_COOKIE['_ia']; |
520 | 520 | } else { |
521 | 521 | // Only generate our own unique clientId if `requireGaCookieClientId` isn't true |
522 | - if (!InstantAnalytics::$settings->requireGaCookieClientId) { |
|
522 | + if (!InstantAnalytics::$settings->requireGaCookieClientId) { |
|
523 | 523 | $cid = $this->gaGenUUID(); |
524 | 524 | } |
525 | 525 | } |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | if ($this->getClientId() !== null || $this->getUserId() !== null) { |
147 | 147 | try { |
148 | 148 | Craft::info( |
149 | - 'Send hit for IAnalytics object: ' . print_r($this, true), |
|
149 | + 'Send hit for IAnalytics object: '.print_r($this, true), |
|
150 | 150 | __METHOD__ |
151 | 151 | ); |
152 | 152 | |
@@ -154,14 +154,14 @@ discard block |
||
154 | 154 | } catch (\Exception $e) { |
155 | 155 | if (InstantAnalytics::$settings->logExcludedAnalytics) { |
156 | 156 | Craft::info( |
157 | - '*** sendHit(): error sending analytics: ' . $e->getMessage(), |
|
157 | + '*** sendHit(): error sending analytics: '.$e->getMessage(), |
|
158 | 158 | __METHOD__ |
159 | 159 | ); |
160 | 160 | } |
161 | 161 | } |
162 | 162 | } elseif (InstantAnalytics::$settings->logExcludedAnalytics) { |
163 | 163 | Craft::info( |
164 | - '*** sendHit(): analytics not sent for '.$requestIp. ' because no clientId or userId is set', |
|
164 | + '*** sendHit(): analytics not sent for '.$requestIp.' because no clientId or userId is set', |
|
165 | 165 | __METHOD__ |
166 | 166 | ); |
167 | 167 | } |