Skip to content

Commit

Permalink
Add a coding standards GA to fix code with Laravel Pint. (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmichot authored Aug 30, 2023
1 parent a98e8c6 commit 7f744bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion InstagramExtendSocialite.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class InstagramExtendSocialite
/**
* Register the provider.
*
* @param \SocialiteProviders\Manager\SocialiteWasCalled $socialiteWasCalled
* @param \SocialiteProviders\Manager\SocialiteWasCalled $socialiteWasCalled
*/
public function handle(SocialiteWasCalled $socialiteWasCalled)
{
Expand Down
2 changes: 1 addition & 1 deletion Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7f744bb

Please sign in to comment.