Skip to content

Commit

Permalink
[Serializer] minor: Remove an extra space in a YamlFileLoader error
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas authored and fabpot committed Oct 7, 2016
1 parent 134556a commit a1bc96b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -90,7 +90,7 @@ public function loadClassMetadata(ClassMetadataInterface $classMetadata)

if (isset($data['max_depth'])) {
if (!is_int($data['max_depth'])) {
throw new MappingException('The "max_depth" value must an integer in "%s" for the attribute "%s" of the class "%s".', $this->file, $attribute, $classMetadata->getName());
throw new MappingException('The "max_depth" value must be an integer in "%s" for the attribute "%s" of the class "%s".', $this->file, $attribute, $classMetadata->getName());
}

$attributeMetadata->setMaxDepth($data['max_depth']);
Expand Down

0 comments on commit a1bc96b

Please sign in to comment.