Skip to content

Commit 2c1603a

Browse files
Merge branch '3.1'
* 3.1: [travis] Test on PHP 7.1 simplified code Remove unused variable 3.0 Upgrade Guide: Added Table of Contents [HttpFoundation] add missing upgrade entry [FrameworkBundle] Convert null prefix to an empty string in translation:update command Improved the deprecation messages for service aliases [Serializer] minor: Remove an extra space in a YamlFileLoader error [HttpKernel] Clean ArgumentMetadataFactory::getType() [PropertyInfo] Fix edge cases in ReflectionExtractor
2 parents 8818eee + 2d2b086 commit 2c1603a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mapping/Loader/YamlFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function loadClassMetadata(ClassMetadataInterface $classMetadata)
7575

7676
if (isset($data['max_depth'])) {
7777
if (!is_int($data['max_depth'])) {
78-
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());
78+
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());
7979
}
8080

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

0 commit comments

Comments
 (0)