Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 1a321d2

Browse files
removed unused variable
1 parent aa379ea commit 1a321d2

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Bundle/Model/Product

1 file changed

+1
-1
lines changed

app/code/Magento/Bundle/Model/Product/Type.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ private function recursiveIntval(array $array)
818818
private function multiToFlatArray(array $array)
819819
{
820820
$flatArray = [];
821-
foreach ($array as $key => $value) {
821+
foreach ($array as $value) {
822822
if (is_array($value)) {
823823
$flatArray = array_merge($flatArray, $this->multiToFlatArray($value));
824824
} else {

0 commit comments

Comments
 (0)