@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | private function __construct(array $options = []) |
49 | 49 | { |
50 | 50 | if (self::sessionsAreDisabled()) { |
51 | - throw new \UnexpectedValueException(__CLASS__ . '::PHP_SESSION_DISABLED'); |
|
51 | + throw new \UnexpectedValueException(__CLASS__.'::PHP_SESSION_DISABLED'); |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | if (self::hasNoSession()) { |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | bool $secure = false, |
70 | 70 | bool $httponly = false |
71 | 71 | ): bool { |
72 | - return setcookie($name, $value, time() + $expires_in, $path, $domain, $secure, $httponly); |
|
72 | + return setcookie($name, $value, time()+$expires_in, $path, $domain, $secure, $httponly); |
|
73 | 73 | } |
74 | 74 | |
75 | 75 | // returns the value stored or null |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | setcookie( |
88 | 88 | session_name(), |
89 | 89 | '', |
90 | - time() - 42000, |
|
90 | + time()-42000, |
|
91 | 91 | $params["path"], |
92 | 92 | $params["domain"], |
93 | 93 | $params["secure"], |