mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 15:50:03 +01:00
When calling `v::validatorName()`, a `ValidatorBuilder` is instantiated to manage the validation chain. However, users generally expect the ID to reflect the specific validator invoked rather than the internal builder class. This commit updates `Id::fromValidator()` to resolve the ID from the underlying validator when it is the sole member of the `ValidatorBuilder`, ensuring more intuitive identification. |
||
|---|---|---|
| .. | ||
| benchmark | ||
| feature | ||
| fixtures | ||
| src | ||
| unit | ||
| bootstrap.php | ||
| Pest.php | ||