From f95583280a162f9c581f9f55dd74599bf4462fc0 Mon Sep 17 00:00:00 2001 From: Andres Rey Date: Sun, 18 Nov 2018 23:14:28 +0000 Subject: Remove unused variable --- src/Readability.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3