Skip to content

Commit

Permalink
uniqid() may require $more_entropy on some systems
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Jul 26, 2023
1 parent 4974ca8 commit 5b8a0fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Internal/LanguageServer/LanguageServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ public function initialize(
return call(
/** @return Generator<int, true, mixed, InitializeResult> */
function () use ($workDoneToken) {
$progress = $this->client->makeProgress($workDoneToken ?? uniqid('tkn'));
$progress = $this->client->makeProgress($workDoneToken ?? uniqid('tkn', true));

$this->logInfo("Initializing...");
$progress->begin('Psalm', 'initializing');
Expand Down

0 comments on commit 5b8a0fc

Please sign in to comment.