Updates string comparison to use identical operator

oauth1test
jeremykendall 2014-12-29 04:18:12 -06:00
parent 8c0ae57065
commit f3d6724d6c
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class Github extends AbstractProvider
public function urlUserDetails(\League\OAuth2\Client\Token\AccessToken $token)
{
if ($this->domain == 'https://github.com') {
if ($this->domain === 'https://github.com') {
return $this->domain.'/user?access_token='.$token;
}
return $this->domain.'/api/v3/user?access_token='.$token;