Skip to content

Commit a77080b

Browse files
committed
adding method for getting Array
1 parent 764e16f commit a77080b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Utils.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@ public static function getMetas(\DOMDocument $html)
2121
foreach ($html->getElementsByTagName('meta') as $meta) {
2222
$name = trim(strtolower($meta->getAttribute('property') ?: $meta->getAttribute('name')));
2323
$value = $meta->getAttribute('content') ?: $meta->getAttribute('value');
24-
2524
$metas[] = [$name, $value, $meta];
2625
}
27-
2826
return $metas;
2927
}
3028

@@ -68,7 +66,6 @@ public static function getData(array $providers, $name, Url $url = null)
6866

6967
foreach ($providers as $key => $provider) {
7068
$value = $provider->$method();
71-
7269
if (empty($value)) {
7370
continue;
7471
}

0 commit comments

Comments
 (0)