From f3d6724d6c03631708ba26f5176ebe4f3ef0b733 Mon Sep 17 00:00:00 2001 From: jeremykendall Date: Mon, 29 Dec 2014 04:18:12 -0600 Subject: [PATCH] Updates string comparison to use identical operator --- src/Provider/Github.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Provider/Github.php b/src/Provider/Github.php index 5631ab8..50124da 100644 --- a/src/Provider/Github.php +++ b/src/Provider/Github.php @@ -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;