diff --git a/src/Two/GoogleProvider.php b/src/Two/GoogleProvider.php index d8a6c7f7..fc08a998 100644 --- a/src/Two/GoogleProvider.php +++ b/src/Two/GoogleProvider.php @@ -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), ]);