Passed
Pull Request — master (#266)
by Michael
34:32
created
lib/Doctrine/Common/Cache/ExtMongoDBCache.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.