@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | ['_id' => $id], |
| 99 | 99 | [ |
| 100 | 100 | '$set' => [ |
| 101 | - MongoDBCache::EXPIRATION_FIELD => ($lifeTime > 0 ? new UTCDateTime((time() + $lifeTime) * 1000): null), |
|
| 101 | + MongoDBCache::EXPIRATION_FIELD => ($lifeTime > 0 ? new UTCDateTime((time() + $lifeTime) * 1000) : null), |
|
| 102 | 102 | MongoDBCache::DATA_FIELD => new Binary(serialize($data), Binary::TYPE_GENERIC), |
| 103 | 103 | ], |
| 104 | 104 | ], |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | 'recordStats' => 0, |
| 157 | 157 | 'repl' => 0, |
| 158 | 158 | ])->toArray()[0]; |
| 159 | - $uptime = $serverStatus['uptime'] ?? null; |
|
| 159 | + $uptime = $serverStatus['uptime'] ?? null; |
|
| 160 | 160 | } catch (Exception $e) { |
| 161 | 161 | } |
| 162 | 162 | |