Usage documentation adjusted

This commit is contained in:
Tobias Hinz 2019-05-09 16:38:39 +02:00
parent 0976fa3a79
commit c4ea1db371

View File

@ -447,7 +447,7 @@ $v->validate();
## listContains fields usage ## listContains fields usage
The `listContains` rule checks that the field is present in a given array of values. The `listContains` rule checks that the field is present in a given array of values.
```php ```php
$v->rule('in', 'color', 'yellow'); $v->rule('listContains', 'color', 'yellow');
``` ```
Alternate syntax. Alternate syntax.
@ -1173,4 +1173,3 @@ before running the tests:
6. Push to the branch (`git push origin my-new-feature`) 6. Push to the branch (`git push origin my-new-feature`)
7. Create new Pull Request 7. Create new Pull Request
8. Pat yourself on the back for being so awesome 8. Pat yourself on the back for being so awesome