Passed
Push — master ( c7d23a...e3e1b4 )
by Haridarshan
02:17
created
src/Instagram.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -129,13 +129,13 @@  discard block
 block discarded – undo
129 129
 	}
130 130
 	
131 131
 	/**
132
-	* Make URLs for user browser navigation.
133
-	*
134
-	* @param string $path
135
-	* @param array  $parameters
136
-	*
137
-	* @return string
138
-	*/
132
+	 * Make URLs for user browser navigation.
133
+	 *
134
+	 * @param string $path
135
+	 * @param array  $parameters
136
+	 *
137
+	 * @return string
138
+	 */
139 139
 	public function getUrl($path, array $parameters) {		
140 140
 		if (is_array($parameters)) {			
141 141
 			if (isset($parameters['scope']) && count(array_diff($parameters['scope'], $this->default_scopes)) === 0) {
@@ -436,9 +436,9 @@  discard block
 block discarded – undo
436 436
 	*
437 437
 	* @return string
438 438
 	*/
439
-    public function getAccessToken() {
440
-        return $this->access_token;
441
-    }
439
+	public function getAccessToken() {
440
+		return $this->access_token;
441
+	}
442 442
 		
443 443
 	/*
444 444
 	* Get a string containing the version of the library.
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
 		$this->execute($path, $options, 'POST');
182 182
 		
183 183
 		if (isset($this->response->code)) {
184
-			throw new InstagramException("return status code: ".$this->response->code." type: ".$this->response->error_type." message: ".$this->response->error_message );
184
+			throw new InstagramException("return status code: ".$this->response->code." type: ".$this->response->error_type." message: ".$this->response->error_message);
185 185
 		}
186 186
 				
187 187
 		$this->setAccessToken($this->response);
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
 		$signature = $endpoint;
271 271
 		ksort($params);
272 272
 		
273
-		foreach($params as $key => $value) {
273
+		foreach ($params as $key => $value) {
274 274
 			$signature .= "|$key=$value";	
275 275
 		}
276 276
 					
Please login to merge, or discard this patch.