From 4b3b7dae10edca5242b2fd78546e1b8d178524ae Mon Sep 17 00:00:00 2001 From: Nate Date: Fri, 11 Mar 2016 18:32:06 -0600 Subject: [PATCH] [Validator] Fixing inaccurate typehint in docblock As of Symfony 2.8, constraint errors are now string UUIDs rather than integers. The corresponding docblock typehint in getErrorName() should reflect this change. --- src/Symfony/Component/Validator/Constraint.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Validator/Constraint.php b/src/Symfony/Component/Validator/Constraint.php index dc93d22b0a77c..a2ab867e0858b 100644 --- a/src/Symfony/Component/Validator/Constraint.php +++ b/src/Symfony/Component/Validator/Constraint.php @@ -69,7 +69,7 @@ abstract class Constraint /** * Returns the name of the given error code. * - * @param int $errorCode The error code + * @param string $errorCode The error code * * @return string The name of the error code *