Completed
Pull Request — 6.0 (#2066)
by
unknown
05:32
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) . session_create_id());
121
+        $this->id = is_string($id) && strlen($id) === 32 ? $id : md5(microtime(true).session_create_id());
122 122
     }
123 123
 
124 124
     /**
Please login to merge, or discard this patch.