Skip to content

Commit

Permalink
remove scopes (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
milkmeowo authored and faustbrian committed Jul 26, 2017
1 parent 0fbfc2e commit ca91fcc
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,4 @@ public function getAccessTokenResponse($code)

return $this->credentialsResponseBody;
}

/**
* {@inheritdoc}.
*/
public function scopes(array $scopes)
{
$this->scopes = array_unique($scopes);

return $this;
}
}

4 comments on commit ca91fcc

@obihuang
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2017/07/26 23:10:57 [error] 1371#1371: *58024 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught ErrorException: Declaration of SocialiteProviders\Weixin\Provider::scopes(array $scopes) should be compatible with Laravel\Socialite\Two\AbstractProvider::scopes($scopes) in /data/www/jojo/releases/20170726150109/vendor/socialiteproviders/weixin/Provider.php:9

@jhdxr
Copy link

@jhdxr jhdxr commented on ca91fcc Jul 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@obihuang maybe you need to update your laravel/socialite to the latest version. and for any problem relating to providers you can open issue at https://github.com/SocialiteProviders/Providers

@obihuang
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Composer package did not be updated to 4.0.1 which makes the problem upon.
Please update the package to 4.0.1 on https://packagist.org/packages/socialiteproviders/weixin.
Thanks.

@jhdxr
Copy link

@jhdxr jhdxr commented on ca91fcc Jul 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

according to https://packagist.org/packages/socialiteproviders/weixin, v4.0.1 was uploaded at 2017-07-26 08:10 UTC. plz double check your composer.json.

Please sign in to comment.