Skip to content

Conversation

ahmed-bhs
Copy link
Contributor

Q A
Branch? 2.6
Tickets no ticket
License MIT

As you see the Constaints/Composite class does not contain getNestedContraints method, instead it contains a getNestedConstraints method.
This lead to an UndefinedMethodError exception :

Attempted to call an undefined method named "getNestedContraints" of class "Symfony\Component\Validator\Constraints\Sequentially".
Did you mean to call "getNestedConstraints"?

Cheers!

@alanpoulain
Copy link
Member

Thanks.
However, it's done in 2.6: #4583.
Please wait for 2.6 to be merged in main.

@ahmed-bhs ahmed-bhs deleted the typo-get-nested-constraints branch December 13, 2021 14:21
@ahmed-bhs
Copy link
Contributor Author

Perfect. Thank you, @alanpoulain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants