Skip to content

Commit

Permalink
Merge pull request #728 from ergebnis/fix/rename
Browse files Browse the repository at this point in the history
Fix: Rename variable
  • Loading branch information
localheinz committed Aug 10, 2022
2 parents 1c3be30 + a97448a commit 10cea17
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Vendor/Composer/ConfigHashNormalizer.php
Expand Up @@ -81,20 +81,20 @@ private static function sortByKey(
);
});

$names = \array_keys($sorted);
$keys = \array_keys($sorted);

return \array_combine(
$names,
\array_map(static function ($value, string $name) use ($propertyPath) {
$keys,
\array_map(static function ($value, string $key) use ($propertyPath) {
return self::sortByKey(
\sprintf(
'%s.%s',
$propertyPath,
$name,
$key,
),
$value,
);
}, $sorted, $names),
}, $sorted, $keys),
);
}

Expand Down

0 comments on commit 10cea17

Please sign in to comment.