Skip to content

Commit

Permalink
Apply fixes from StyleCI (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
sohaibilyas authored May 4, 2020
1 parent 3fadae4 commit be30c01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Facebook.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ public function loggedIn()
if ($_SESSION['state'] != $_GET['state']) {
throw new Exception('state token did not match');
}
$this->accessToken = json_decode($this->client->get('/oauth/access_token?client_id=' . $this->config['app_id'] . '&client_secret=' . $this->config['app_secret'] . '&redirect_uri=' . $this->config['redirect_uri'] . '&code=' . $_GET['code'])->getBody())->access_token;

$this->accessToken = json_decode($this->client->get('/oauth/access_token?client_id='.$this->config['app_id'].'&client_secret='.$this->config['app_secret'].'&redirect_uri='.$this->config['redirect_uri'].'&code='.$_GET['code'])->getBody())->access_token;

return true;
}
Expand Down

0 comments on commit be30c01

Please sign in to comment.