Skip to content

Commit

Permalink
removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-rajawat committed Nov 28, 2018
1 parent 4bf63da commit 98ae6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Bundle/Model/Product/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ private function recursiveIntval(array $array)
private function multiToFlatArray(array $array)
{
$flatArray = [];
foreach ($array as $key => $value) {
foreach ($array as $value) {
if (is_array($value)) {
$flatArray = array_merge($flatArray, $this->multiToFlatArray($value));
} else {
Expand Down

0 comments on commit 98ae6ae

Please sign in to comment.