@@ -93,7 +93,7 @@ |
||
93 | 93 | */ |
94 | 94 | protected function buildAuthHeader($accessToken = "") |
95 | 95 | { |
96 | - return ['Authorization' => 'Bearer '. $accessToken]; |
|
96 | + return ['Authorization' => 'Bearer ' . $accessToken]; |
|
97 | 97 | } |
98 | 98 | |
99 | 99 | /** |
@@ -115,7 +115,7 @@ |
||
115 | 115 | 'state' => $state, |
116 | 116 | ], $params); |
117 | 117 | |
118 | - if(!is_null($redirectUri)) { |
|
118 | + if (!is_null($redirectUri)) { |
|
119 | 119 | $params['redirect_uri'] = $redirectUri; |
120 | 120 | } |
121 | 121 |
@@ -1147,7 +1147,7 @@ |
||
1147 | 1147 | |
1148 | 1148 | //Since the metadata is returned as a json string |
1149 | 1149 | //it needs to be decoded into an associative array |
1150 | - $metadata = json_decode((string)$data, true); |
|
1150 | + $metadata = json_decode((string) $data, true); |
|
1151 | 1151 | } |
1152 | 1152 | |
1153 | 1153 | //Return the metadata |
@@ -157,7 +157,7 @@ |
||
157 | 157 | $body = $this->getBody(); |
158 | 158 | |
159 | 159 | if (isset($this->headers['Content-Type']) && in_array('application/json', $this->headers['Content-Type'])) { |
160 | - $this->decodedBody = json_decode((string)$body, true); |
|
160 | + $this->decodedBody = json_decode((string) $body, true); |
|
161 | 161 | } else { |
162 | 162 | $this->decodedBody = $body; |
163 | 163 | } |