Passed
Pull Request — master (#33)
by
unknown
19:05
created
src/base/Gateway.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
     public function getEmbedHtml($videoId, array $options = []): string
233 233
     {
234 234
         $embedAttributes = [
235
-            'title' => 'External video from' . $this->getHandle(),
235
+            'title' => 'External video from'.$this->getHandle(),
236 236
             'frameborder' => '0',
237 237
             'allowfullscreen' => 'true',
238 238
             'allowscriptaccess' => 'true',
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
 
249 249
         $title = $options['title'] ?? false;
250 250
 
251
-        if($title) {
251
+        if ($title) {
252 252
             $this->parseEmbedAttribute($embedAttributes, $options, 'title', 'title');
253 253
         }
254 254
 
@@ -421,11 +421,11 @@  discard block
 block discarded – undo
421 421
 
422 422
         try {
423 423
             $response = $client->request('GET', $uri, $options);
424
-            $body = (string)$response->getBody();
424
+            $body = (string) $response->getBody();
425 425
             $data = Json::decode($body);
426 426
         } catch (BadResponseException $badResponseException) {
427 427
             $response = $badResponseException->getResponse();
428
-            $body = (string)$response->getBody();
428
+            $body = (string) $response->getBody();
429 429
 
430 430
             try {
431 431
                 $data = Json::decode($body);
Please login to merge, or discard this patch.