Skip to content

Commit fa698e4

Browse files
committed
Fix discriminator map config
1 parent af4f528 commit fa698e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mapping/Reader/ConfigReader/DiscriminatorMapClassConfigLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function load(\ReflectionClass $class, ClassInfo $info, array $config): v
2020

2121
$map = [];
2222

23-
foreach ($discriminatorConfig as $value => $type) {
23+
foreach ($discriminatorConfig['map'] as $value => $type) {
2424
$map[$value] = new TypeInfo($type);
2525
}
2626

0 commit comments

Comments
 (0)