Passed
Push — develop ( cb608b...fa8a11 )
by Andrew
03:59
created
src/helpers/IAnalytics.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * @inheritdoc
29 29
      */
30
-    public function __construct($isSsl = false, $isDisabled = false, array $options = [])
30
+    public function __construct($isSsl = false, $isDisabled = false, array $options = [ ])
31 31
     {
32 32
         /** @var Settings $settings */
33 33
         $settings = InstantAnalytics::$plugin->getSettings();
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     {
59 59
         /** @var Settings $settings */
60 60
         $settings = InstantAnalytics::$plugin->getSettings();
61
-        $requestIp = $_SERVER['REMOTE_ADDR'];
61
+        $requestIp = $_SERVER[ 'REMOTE_ADDR' ];
62 62
         if ($this->shouldSendAnalytics) {
63 63
             try {
64 64
                 Craft::info(
Please login to merge, or discard this patch.