Skip to content

Commit e380628

Browse files
committed
code style
1 parent bb9749e commit e380628

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ $RECYCLE.BIN/
2424

2525
# COMPOSER
2626
vendor
27-
composer.lock
27+
composer.lock

src/Adapters/Google.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*/
55
namespace Embed\Adapters;
66

7-
use Embed\Url;
87
use Embed\Request;
98
use Embed\Utils;
109

@@ -32,9 +31,6 @@ public function getCode()
3231
->withQueryParameters([]);
3332

3433
return Utils::iframe($url);
35-
36-
//this code of google maps no longer works
37-
//return Utils::iframe($url->withQueryParameter('output', 'embed')->withQueryParameter('s', ''));
3834
}
3935

4036
/**

src/Providers/OEmbed/WordPress.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* Class WordPress
66
* WordPress.tv embeds
77
* @package Embed\Providers\OEmbed
8-
* @todo Class is named 'WordPress' to fit existing naming scheme, but could be confused with WordPress.com or WordPress.org
98
*/
109
class WordPress extends OEmbedImplementation
1110
{

src/RequestResolvers/Curl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ protected function resolve()
146146
$charset = substr(strtoupper(strstr($charset, '=')), 1);
147147

148148
if (!empty($charset) && !empty($this->content) && ($charset !== 'UTF-8')) {
149-
$this->content = @mb_convert_encoding($this->content, 'UTF-8', $charset);
149+
$this->content = mb_convert_encoding($this->content, 'UTF-8', $charset);
150150
}
151151
} elseif (strpos($content_type, '/') !== false) {
152152
$this->result['mime_type'] = $content_type;

0 commit comments

Comments
 (0)