8000 [Validator] Fixing inaccurate typehint in docblock by natechicago · Pull Request #18112 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Validator] Fixing inaccurate typehint in docblock #18112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 15, 2016

Conversation

natechicago
Copy link
Contributor
Q A
Branch 2.8
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/a

As of Symfony 2.8, constraint errors are now string UUIDs rather than integers. The corresponding docblock typehint in Symfony\Component\Validator\Constraint::getErrorName should reflect this change.

As of Symfony 2.8, constraint errors are now string UUIDs rather than integers.  The corresponding docblock typehint in getErrorName() should reflect this change.
@xabbuh
Copy link
Member
xabbuh commented Mar 13, 2016

👍

Status: Reviewed

@nicolas-grekas
Copy link
Member

Thank you @natechicago.

@nicolas-grekas nicolas-grekas merged commit 4b3b7da into symfony:2.8 Mar 15, 2016
nicolas-grekas added a commit that referenced this pull request Mar 15, 2016
…chicago)

This PR was merged into the 2.8 branch.

Discussion
----------

[Validator] Fixing inaccurate typehint in docblock

| Q             | A
| ------------- | ---
| Branch        | 2.8
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

As of Symfony 2.8, constraint errors are now string UUIDs rather than integers.  The corresponding docblock typehint in `Symfony\Component\Validator\Constraint::getErrorName` should reflect this change.

Commits
-------

4b3b7da [Validator] Fixing inaccurate typehint in docblock
@natechicago natechicago deleted the patch-2 branch March 17, 2016 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0