@@ -232,7 +232,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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); |