mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 22:35:01 +00:00
cs: Enable risky rule random_api_migration
.
This commit is contained in:
@@ -37,7 +37,7 @@ class ChoicesListType extends AbstractType
|
||||
$formData = $form->getData();
|
||||
|
||||
if (null === $formData['slug']) {
|
||||
$slug = uniqid(rand(), true);
|
||||
$slug = uniqid(mt_rand(), true);
|
||||
|
||||
$data['slug'] = $slug;
|
||||
$event->setData($data);
|
||||
|
Reference in New Issue
Block a user