mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-31 12:03:48 +00:00
apply rules rector up to php82
This commit is contained in:
@@ -138,8 +138,8 @@ class ChillImportUsersCommand extends Command
|
||||
{
|
||||
$user = new User();
|
||||
$user
|
||||
->setEmail(trim($data['email']))
|
||||
->setUsername(trim($data['username']))
|
||||
->setEmail(trim((string) $data['email']))
|
||||
->setUsername(trim((string) $data['username']))
|
||||
->setEnabled(true)
|
||||
->setPassword($this->passwordEncoder->encodePassword(
|
||||
$user,
|
||||
|
Reference in New Issue
Block a user