Passed
Push — develop ( afb268...5296fd )
by Benjamin
08:18
created
src/base/Gateway.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -435,11 +435,11 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/controllers/SettingsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/helpers/VideosHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.