@@ -129,13 +129,13 @@ discard block |
||
| 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 |
||
| 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. |
@@ -181,7 +181,7 @@ discard block |
||
| 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 |
||
| 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 | |