Skip to content

Commit

Permalink
fix styleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
Dharma Saputra committed Dec 21, 2018
1 parent c2272a3 commit b381b55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Two/GoogleProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ protected function mapUserToObject(array $user)
$avatarUrl = Arr::get($user, 'picture');

return (new User)->setRaw($user)->map([
'id' => $user['id'],
'nickname' => Arr::get($user, 'nickname'),
'id' => $user['id'],
'nickname' => Arr::get($user, 'nickname'),
'name' => Arr::get($user, 'name'),
'email' => Arr::get($user, 'email'),
'email' => Arr::get($user, 'email'),
'avatar' => $avatarUrl,
'avatar_original' => preg_replace('/\?sz=([0-9]+)/', '', $avatarUrl),
]);
Expand Down

0 comments on commit b381b55

Please sign in to comment.