@@ -78,10 +78,10 @@ |
||
78 | 78 | // find if that user exist in our database |
79 | 79 | $user = $this->findSocialUserTask->run($provider, $socialUserProfile->id); |
80 | 80 | |
81 | - $tokenSecret = isset($socialUserProfile->tokenSecret) ? : null; |
|
82 | - $expiresIn = isset($socialUserProfile->expiresIn) ? : null; |
|
83 | - $refreshToken = isset($socialUserProfile->refreshToken) ? : null; |
|
84 | - $avatar_original = isset($socialUserProfile->avatar_original) ? : null; |
|
81 | + $tokenSecret = isset($socialUserProfile->tokenSecret) ?: null; |
|
82 | + $expiresIn = isset($socialUserProfile->expiresIn) ?: null; |
|
83 | + $refreshToken = isset($socialUserProfile->refreshToken) ?: null; |
|
84 | + $avatar_original = isset($socialUserProfile->avatar_original) ?: null; |
|
85 | 85 | |
86 | 86 | // if user not found then create new one |
87 | 87 | if (!$user) { |