@@ -49,7 +49,7 @@ |
||
| 49 | 49 | */ |
| 50 | 50 | public static function get(string $key, ?string $default = null, bool $raw = false) |
| 51 | 51 | { |
| 52 | - if(!self::has($key)) { |
|
| 52 | + if (!self::has($key)) { |
|
| 53 | 53 | return $default; |
| 54 | 54 | } |
| 55 | 55 | |
@@ -104,7 +104,7 @@ |
||
| 104 | 104 | /** |
| 105 | 105 | * @inheritDoc |
| 106 | 106 | */ |
| 107 | - public function gc($max_lifetime): int|false |
|
| 107 | + public function gc($max_lifetime): int | false |
|
| 108 | 108 | { |
| 109 | 109 | $old = time() - $max_lifetime; |
| 110 | 110 | $deleted = $this->sessionModel->criteria('ttl', '<', $old)->deleteMany(); |