diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-10-08 09:24:28 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-10-08 09:24:28 +0400 |
commit | 1fa8da9b963e99e08c829fe6491e8ccf2d1054e2 (patch) | |
tree | 137c50850a5f21f1651f8066d4bd381a661e1987 /core/Tracker/Request.php | |
parent | fcbef99dbf93df94ff5ed4cfaa5eeebfcf4aac14 (diff) |
Applying phpstorm code style PSR refs #3771
Diffstat (limited to 'core/Tracker/Request.php')
-rw-r--r-- | core/Tracker/Request.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/Tracker/Request.php b/core/Tracker/Request.php index 92350dbe7d..795f9a04f3 100644 --- a/core/Tracker/Request.php +++ b/core/Tracker/Request.php @@ -285,7 +285,7 @@ class Request protected function isTimestampValid($time) { return $time <= $this->getCurrentTimestamp() - && $time > $this->getCurrentTimestamp() - 10 * 365 * 86400; + && $time > $this->getCurrentTimestamp() - 10 * 365 * 86400; } public function getIdSite() @@ -460,7 +460,7 @@ class Request public function setForceIp($ip) { - if(!empty($ip)) { + if (!empty($ip)) { $this->enforcedIp = $ip; } } @@ -470,14 +470,14 @@ class Request if (!is_numeric($dateTime)) { $dateTime = strtotime($dateTime); } - if(!empty($dateTime)) { + if (!empty($dateTime)) { $this->timestamp = $dateTime; } } public function setForcedVisitorId($visitorId) { - if(!empty($visitorId)) { + if (!empty($visitorId)) { $this->forcedVisitorId = $visitorId; } } |