[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:
parent
e8b102e170
commit
4b3b7dae10
@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user