@@ -20,8 +20,8 @@ |
||
20 | 20 | if (empty($oauth)) { |
21 | 21 | throw new InstagramOAuthException("Bad Request 400 empty Response", 400); |
22 | 22 | } |
23 | - $this->accessToken = $oauth->access_token; |
|
24 | - $this->user = isset($oauth->user) ? $oauth->user : null; |
|
23 | + $this->accessToken = $oauth->access_token; |
|
24 | + $this->user = isset($oauth->user) ? $oauth->user : null; |
|
25 | 25 | } |
26 | 26 | |
27 | 27 | /* |
@@ -42,7 +42,7 @@ |
||
42 | 42 | if (!$response instanceof Response) { |
43 | 43 | throw new InstagramResponseException('Bad Request: Response is not valid instance of GuzzleHttp\Psr7\Response', 404); |
44 | 44 | } |
45 | - $this->setParams($response); |
|
45 | + $this->setParams($response); |
|
46 | 46 | } |
47 | 47 | |
48 | 48 | /* |