summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2018-11-18 23:14:28 +0000
committerAndres Rey <[email protected]>2018-11-18 23:14:28 +0000
commitf95583280a162f9c581f9f55dd74599bf4462fc0 (patch)
tree906fb20af4c913f8a450a3c0761c09270c3dc01e
parent8f3c9864d07c2d3095f86c18f866fddef8c30f6a (diff)
Remove unused variable
-rw-r--r--src/Readability.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Readability.php b/src/Readability.php
index a1f829e..f5a7b70 100644
--- a/src/Readability.php
+++ b/src/Readability.php
@@ -1559,7 +1559,7 @@ class Readability
// Allow youtube and vimeo videos through as people usually want to see those.
if ($isEmbed) {
$attributeValues = [];
- foreach ($item->attributes as $name => $value) {
+ foreach ($item->attributes as $value) {
$attributeValues[] = $value->nodeValue;
}
$attributeValues = implode('|', $attributeValues);