We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41a78cb commit 0931874Copy full SHA for 0931874
EventListener/ConsoleProfilerListener.php
@@ -77,7 +77,7 @@ public function initialize(ConsoleCommandEvent $event): void
77
return;
78
}
79
80
- $request->attributes->set('_stopwatch_token', substr(hash('xxh128', uniqid(mt_rand(), true)), 0, 6));
+ $request->attributes->set('_stopwatch_token', bin2hex(random_bytes(3)));
81
$this->stopwatch->openSection();
82
83
0 commit comments