Added spaces
This commit is contained in:
parent
0c2e30349c
commit
c5bc5207e7
|
|
@ -71,7 +71,7 @@ class CustomerSocialAccountRepository extends Repository
|
|||
if ($account) {
|
||||
return $account->customer;
|
||||
} else {
|
||||
$customer = $providerUser->getEmail()?$this->customerRepository->findOneByField('email', $providerUser->getEmail()):null;
|
||||
$customer = $providerUser->getEmail() ? $this->customerRepository->findOneByField('email', $providerUser->getEmail()) : null;
|
||||
|
||||
if (! $customer) {
|
||||
$names = $this->getFirstLastName($providerUser->getName());
|
||||
|
|
|
|||
Loading…
Reference in New Issue