[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.
This commit is contained in:
Nate 2016-03-11 18:32:06 -06:00
parent e8b102e170
commit 4b3b7dae10

View File

@ -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
*