mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
DOC Clarify return value for CompositeValidator::getValidatorsByType()
This commit is contained in:
parent
2c54a3fd2f
commit
4ee92da6b5
@ -171,6 +171,9 @@ class CompositeValidator extends Validator
|
||||
/**
|
||||
* Return all Validators that match a certain class name. EG: RequiredFields::class
|
||||
*
|
||||
* The keys for the return array match the keys in the unfiltered array. You cannot assume the keys will be
|
||||
* sequential or that the first key will be ZERO.
|
||||
*
|
||||
* @param string $className
|
||||
* @return array|Validator[]
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user