[Serializer] minor: Remove an extra space in a YamlFileLoader error

This commit is contained in:
Kévin Dunglas 2016-10-06 16:04:11 +02:00 committed by Fabien Potencier
parent 134556a24b
commit a1bc96bf43
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ class YamlFileLoader extends FileLoader
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']);