From 7f744bb5b29b443c6f050657947b2940291d4ff9 Mon Sep 17 00:00:00 2001 From: Lucas Michot Date: Thu, 31 Aug 2023 02:40:18 +0300 Subject: [PATCH] Add a coding standards GA to fix code with Laravel Pint. (#1064) --- InstagramExtendSocialite.php | 2 +- Provider.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/InstagramExtendSocialite.php b/InstagramExtendSocialite.php index 36b4a1f..a15f44e 100644 --- a/InstagramExtendSocialite.php +++ b/InstagramExtendSocialite.php @@ -9,7 +9,7 @@ class InstagramExtendSocialite /** * Register the provider. * - * @param \SocialiteProviders\Manager\SocialiteWasCalled $socialiteWasCalled + * @param \SocialiteProviders\Manager\SocialiteWasCalled $socialiteWasCalled */ public function handle(SocialiteWasCalled $socialiteWasCalled) { diff --git a/Provider.php b/Provider.php index 8d7b585..a56c6ca 100644 --- a/Provider.php +++ b/Provider.php @@ -56,7 +56,7 @@ protected function getUserByToken($token) { $meUrl = 'https://graph.instagram.com/me?access_token='.$token.'&fields='.implode(',', $this->fields); - if (!empty($this->clientSecret)) { + if (! empty($this->clientSecret)) { $appSecretProof = hash_hmac('sha256', $token, $this->clientSecret); $meUrl .= '&appsecret_proof='.$appSecretProof; }