Skip to content

Commit

Permalink
Remove unused import.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Apr 26, 2018
1 parent 3ca33cc commit 44a3eb5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Katsana\Socialite;

use Illuminate\Container\Container;
use Illuminate\Support\Arr;
use Laravel\Socialite\Two\ProviderInterface;
use SocialiteProviders\Manager\OAuth2\AbstractProvider;
use SocialiteProviders\Manager\OAuth2\User;
Expand Down Expand Up @@ -141,7 +140,7 @@ protected function mapUserToObject(array $user)
'id' => $user['id'],
'name' => $user['fullname'],
'email' => $user['email'],
'avatar' =>$user['avatar']['url'] ?? null,
'avatar' => $user['avatar']['url'] ?? null,
]);
}

Expand Down

0 comments on commit 44a3eb5

Please sign in to comment.