Skip to content

Commit

Permalink
Revert "Fixes #3365 (#3400)"
Browse files Browse the repository at this point in the history
This reverts commit 37142c6.
  • Loading branch information
antonmedv committed Jan 9, 2023
1 parent 4370751 commit a809e82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Importer/Importer.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ protected static function after(array $after)
{
foreach ($after as $key => $value) {
if (is_array($value)) {
foreach ($value as $v) {
foreach (array_reverse($value) as $v) {
after($key, $v);
}
} else {
Expand All @@ -253,7 +253,7 @@ protected static function before(array $before)
{
foreach ($before as $key => $value) {
if (is_array($value)) {
foreach ($value as $v) {
foreach (array_reverse($value) as $v) {
before($key, $v);
}
} else {
Expand Down

0 comments on commit a809e82

Please sign in to comment.