Skip to content

Commit

Permalink
honor ignored fields in the config-key hash
Browse files Browse the repository at this point in the history
  • Loading branch information
sweikenb committed Jul 10, 2024
1 parent 16597f2 commit 1c4b3a6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Service/NormalizerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ public function execute(string $id, array|object $toCheck, ?ConfigInterface $con

public function getConfigKey(?ConfigInterface $config = null): string
{
return md5(serialize($config?->getFieldsToCheck() ?? []));
return md5(serialize([
$config?->getFieldsToCheck() ?? [],
$config?->getFieldsToIgnore() ?? [],
]));
}

private function flatten(string $prev, array &$arr, array &$flatten): void
Expand Down

0 comments on commit 1c4b3a6

Please sign in to comment.