Completed
Pull Request — 6.0 (#2054)
by
unknown
05:11
created
src/think/session/Store.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      */
119 119
     public function setId($id = null): void
120 120
     {
121
-        $this->id = is_string($id) && strlen($id) === 32 ? $id : md5(microtime(true) . uniqid('', true));
121
+        $this->id = is_string($id) && strlen($id) === 32 ? $id : md5(microtime(true).uniqid('', true));
122 122
     }
123 123
 
124 124
     /**
Please login to merge, or discard this patch.