@@ -435,11 +435,11 @@ |
||
| 435 | 435 | |
| 436 | 436 | try { |
| 437 | 437 | $response = $client->request('GET', $uri, $options); |
| 438 | - $body = (string)$response->getBody(); |
|
| 438 | + $body = (string) $response->getBody(); |
|
| 439 | 439 | $data = Json::decode($body); |
| 440 | 440 | } catch (BadResponseException $badResponseException) { |
| 441 | 441 | $response = $badResponseException->getResponse(); |
| 442 | - $body = (string)$response->getBody(); |
|
| 442 | + $body = (string) $response->getBody(); |
|
| 443 | 443 | |
| 444 | 444 | try { |
| 445 | 445 | $data = Json::decode($body); |
@@ -128,7 +128,7 @@ |
||
| 128 | 128 | |
| 129 | 129 | $plugin = Craft::$app->getPlugins()->getPlugin('videos'); |
| 130 | 130 | |
| 131 | - $settings = (array)$plugin->getSettings(); |
|
| 131 | + $settings = (array) $plugin->getSettings(); |
|
| 132 | 132 | |
| 133 | 133 | $settings['oauthProviderOptions'][$gateway->getHandle()] = [ |
| 134 | 134 | 'clientId' => $clientId, |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public static function getDuration($seconds): string |
| 30 | 30 | { |
| 31 | - $hours = (int)((int)$seconds / 3600); |
|
| 31 | + $hours = (int) ((int) $seconds / 3600); |
|
| 32 | 32 | $minutes = (($seconds / 60) % 60); |
| 33 | 33 | $seconds %= 60; |
| 34 | 34 | |