chore: code cleanup
This commit is contained in:
1 parent
c4e28818e0
commit
e36009008c
273 files changed
+547
-531
No files matched your search
@@ -15,7 +15,7 @@ class UserDataHandler
|
||||
{
|
||||
public function __construct(
|
||||
private readonly EntityManagerInterface $entityManager,
|
||||
private readonly LoggerInterface $logger
|
||||
private readonly LoggerInterface $logger,
|
||||
) {
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ class UserDataHandler
|
||||
array $roles,
|
||||
bool $isTeamer = false,
|
||||
array $crmSelections = [],
|
||||
array $hotelCodes = []
|
||||
array $hotelCodes = [],
|
||||
): User {
|
||||
$user = new User();
|
||||
$user
|
||||
@@ -95,7 +95,7 @@ class UserDataHandler
|
||||
array $roles,
|
||||
bool $isTeamer = false,
|
||||
array $crmSelections = [],
|
||||
array $hotelCodes = []
|
||||
array $hotelCodes = [],
|
||||
): void {
|
||||
$user
|
||||
->setEmail($profileResponse->getCommunication()->getEmail())
|
||||
@@ -126,4 +126,4 @@ class UserDataHandler
|
||||
|
||||
$this->entityManager->flush();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user