diff options
author | fabiocarneiro <fahecs@gmail.com> | 2015-05-27 12:56:17 +0300 |
---|---|---|
committer | fabiocarneiro <fahecs@gmail.com> | 2015-05-27 12:56:17 +0300 |
commit | a2a63d34ebb460174e1a3e8d8022fe3e3ab4b469 (patch) | |
tree | fbfc480352bc711bc03f12849824507e56b5034a /core/Tracker/Visit.php | |
parent | b2f5b5489ceca056217fc6663ec6c2c6b052cd42 (diff) |
fix core folder with php-cs-fixer for psr-2
Diffstat (limited to 'core/Tracker/Visit.php')
-rw-r--r-- | core/Tracker/Visit.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/core/Tracker/Visit.php b/core/Tracker/Visit.php index 4d81bc2f3b..2ae3e0677d 100644 --- a/core/Tracker/Visit.php +++ b/core/Tracker/Visit.php @@ -125,7 +125,6 @@ class Visit implements VisitInterface if ($this->goalManager->isGoalAnOrder()) { $visitIsConverted = true; } - } elseif ($isManualGoalConversion) { // this request is from the JS call to piwikTracker.trackGoal() $someGoalsConverted = $this->goalManager->detectGoalId($this->request->getIdSite()); @@ -136,7 +135,6 @@ class Visit implements VisitInterface Common::printDebug('Invalid goal tracking request for goal id = ' . $this->goalManager->idGoal); return; } - } else { // normal page view, potentially triggering a URL matching goal $action = Action::factory($this->request); @@ -178,7 +176,6 @@ class Visit implements VisitInterface if (!is_null($action)) { $action->record($visitor, $idReferrerActionUrl, $idReferrerActionName); } - } catch (VisitorNotFoundInDb $e) { // There is an edge case when: @@ -386,7 +383,7 @@ class Visit implements VisitInterface protected function getSettingsObject() { if (is_null($this->userSettings)) { - $this->userSettings = new Settings( $this->request, $this->getVisitorIp(), SettingsPiwik::isSameFingerprintAcrossWebsites()); + $this->userSettings = new Settings($this->request, $this->getVisitorIp(), SettingsPiwik::isSameFingerprintAcrossWebsites()); } return $this->userSettings; @@ -590,7 +587,7 @@ class Visit implements VisitInterface self::$dimensions = VisitDimension::getAllDimensions(); $dimensionNames = array(); - foreach(self::$dimensions as $dimension) { + foreach (self::$dimensions as $dimension) { $dimensionNames[] = $dimension->getColumnName(); } |