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