Yaffs site version 1.1
[yaffs-website] / vendor / symfony / validator / Validator.php
index 4da27e7b375a0f83648337a5ec2353200b7729d3..feaec0d400382e51108bb4a57bce1117bc0a7e39 100644 (file)
@@ -151,7 +151,7 @@ class Validator implements ValidatorInterface, Mapping\Factory\MetadataFactoryIn
                 ? '"'.$containingValue.'"'
                 : 'the value of type '.gettype($containingValue);
 
-            throw new ValidatorException(sprintf('The metadata for '.$valueAsString.' does not support properties.'));
+            throw new ValidatorException(sprintf('The metadata for %s does not support properties.', $valueAsString));
         }
 
         // If $containingValue is passed as class name, take $value as root