Replace removed rule from documentation

The "Age" was removed but the documentation was not completely updated.
This commit is contained in:
Danilo Correa 2019-05-12 13:33:38 -03:00 committed by Henrique Moody
parent 3093d79155
commit fbf82dc975
No known key found for this signature in database
GPG key ID: 221E9281655813A6

View file

@ -42,7 +42,7 @@ Is possible to validate its attributes in a single chain:
```php
$userValidator = v::attribute('name', v::stringType()->length(1, 32))
->attribute('birthdate', v::date()->age(18));
->attribute('birthdate', v::date()->minAge(18));
$userValidator->validate($user); // true
```