@@ -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 | /** |
@@ -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 |
@@ -60,7 +60,7 @@ |
||
60 | 60 | } catch (RequestException $e) { |
61 | 61 | $rawResponse = $e->getResponse(); |
62 | 62 | |
63 | - if (! $rawResponse instanceof ResponseInterface) { |
|
63 | + if (!$rawResponse instanceof ResponseInterface) { |
|
64 | 64 | throw new DropboxClientException($e->getMessage(), $e->getCode()); |
65 | 65 | } |
66 | 66 | } |
@@ -68,7 +68,7 @@ |
||
68 | 68 | */ |
69 | 69 | protected function buildUrl($endpoint = '', array $params = []) |
70 | 70 | { |
71 | - $queryParams = http_build_query($params,'','&'); |
|
71 | + $queryParams = http_build_query($params, '', '&'); |
|
72 | 72 | return static::BASE_URL . $endpoint . '?' . $queryParams; |
73 | 73 | } |
74 | 74 |