Skip to content

Commit

Permalink
Merge pull request #142 from mvanmeerbeck/master
Browse files Browse the repository at this point in the history
xml_attribute_map fix for the yaml driver
  • Loading branch information
schmittjoh committed Sep 5, 2013
2 parents 89a43cb + 6c58454 commit d4b6f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JMS/Serializer/Metadata/Driver/YamlDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ protected function loadMetadataFromFile(\ReflectionClass $class, $file)
}

if (isset($pConfig['xml_attribute_map'])) {
$pMetadata->xmlAttribute = (Boolean) $pConfig['xml_attribute_map'];
$pMetadata->xmlAttributeMap = (Boolean) $pConfig['xml_attribute_map'];
}

if (isset($pConfig['xml_value'])) {
Expand Down

0 comments on commit d4b6f15

Please sign in to comment.