Completed
Push — master ( 7d43e9...5f1fed )
by Haridarshan
02:51
created
src/InstagramOAuth.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
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
     /*
Please login to merge, or discard this patch.
src/InstagramResponse.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
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
     /* 
Please login to merge, or discard this patch.
src/InstagramRequest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,10 +63,10 @@
 block discarded – undo
63 63
         $request = $helper->request($this->instagram->getHttpClient(), $endpoint, $this->params, $this->method);
64 64
 				
65 65
         if ($request === null) {
66
-			throw new InstagramResponseException("400 Bad Request: instanceof InstagramResponse cannot be null", 400);
66
+            throw new InstagramResponseException("400 Bad Request: instanceof InstagramResponse cannot be null", 400);
67 67
         }
68
-		$this->response = new InstagramResponse($request);
69
-		$this->xRateLimitRemaining = $this->response->getHeader('X-Ratelimit-Remaining');
68
+        $this->response = new InstagramResponse($request);
69
+        $this->xRateLimitRemaining = $this->response->getHeader('X-Ratelimit-Remaining');
70 70
     }
71 71
     
72 72
     /*
Please login to merge, or discard this patch.