File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ when :ref:`validating OptionsResolver values <optionsresolver-validate-value>`):
244
244
:method: `Symfony\\ Component\\ Validator\\ Validation::createCallable `
245
245
This returns a closure that throws ``ValidationFailedException `` when the
246
246
constraints aren't matched.
247
- :method: `Symfony\\ Component\\ Validator\\ Validation::createValidCallable `
247
+ :method: `Symfony\\ Component\\ Validator\\ Validation::createIsValidCallable `
248
248
This returns a closure that returns ``false `` when the constraints aren't matched.
249
249
250
250
.. versionadded :: 5.1
@@ -253,7 +253,7 @@ when :ref:`validating OptionsResolver values <optionsresolver-validate-value>`):
253
253
254
254
.. versionadded :: 5.3
255
255
256
- ``Validation::createValidCallable () `` was introduced in Symfony 5.3.
256
+ ``Validation::createIsValidCallable () `` was introduced in Symfony 5.3.
257
257
258
258
.. index ::
259
259
single: Validation; Constraints
You can’t perform that action at this time.
0 commit comments