Completed
Push — master ( 2f74ab...069494 )
by Haridarshan
02:22
created
src/InstagramRequest.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -66,13 +66,13 @@
 block discarded – undo
66 66
         $endpoint = Constants::API_VERSION.$this->path.(('GET' === $this->method) ? '?'.http_build_query($this->params) : $authentication_method);
67 67
         $endpoint .= (strstr($endpoint, '?') ? '&' : '?').'sig='.static::generateSignature($this->instagram->getClientSecret(), $this->path, $this->params);
68 68
         
69
-		$request = HelperFactory::request($this->instagram->getHttpClient(), $endpoint, $this->params, $this->method);
70
-		if ($request !== null) {
71
-        	$this->response = new InstagramResponse($request);
72
-        	$this->xRateLimitRemaining = $this->response->getHeader('X-Ratelimit-Remaining');
73
-		} else {
74
-			throw new InstagramResponseException("400 Bad Request: instanceof InstagramResponse cannot be null", 400);
75
-		}
69
+        $request = HelperFactory::request($this->instagram->getHttpClient(), $endpoint, $this->params, $this->method);
70
+        if ($request !== null) {
71
+            $this->response = new InstagramResponse($request);
72
+            $this->xRateLimitRemaining = $this->response->getHeader('X-Ratelimit-Remaining');
73
+        } else {
74
+            throw new InstagramResponseException("400 Bad Request: instanceof InstagramResponse cannot be null", 400);
75
+        }
76 76
     }
77 77
     
78 78
     /*
Please login to merge, or discard this patch.