Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfabiocarneiro <fahecs@gmail.com>2015-05-27 12:56:17 +0300
committerfabiocarneiro <fahecs@gmail.com>2015-05-27 12:56:17 +0300
commita2a63d34ebb460174e1a3e8d8022fe3e3ab4b469 (patch)
treefbfc480352bc711bc03f12849824507e56b5034a /core/Cookie.php
parentb2f5b5489ceca056217fc6663ec6c2c6b052cd42 (diff)
fix core folder with php-cs-fixer for psr-2
Diffstat (limited to 'core/Cookie.php')
-rw-r--r--core/Cookie.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/Cookie.php b/core/Cookie.php
index 39c0de95e4..24f8a3f6c1 100644
--- a/core/Cookie.php
+++ b/core/Cookie.php
@@ -143,7 +143,9 @@ class Cookie
// Remove port information.
$Port = strpos($Domain, ':');
- if ($Port !== false) $Domain = substr($Domain, 0, $Port);
+ if ($Port !== false) {
+ $Domain = substr($Domain, 0, $Port);
+ }
}
$header = 'Set-Cookie: ' . rawurlencode($Name) . '=' . rawurlencode($Value)