mirror of
https://github.com/Respect/Validation.git
synced 2024-06-01 05:12:50 +02:00
Fix coding standard of a code in "concrete-api.md"
This commit is contained in:
parent
fc433ad449
commit
ce0d658340
|
@ -7,7 +7,7 @@ or magic methods. We'll use a traditional dependency injection approach.
|
|||
```php
|
||||
use Respect\Validation\Validator as v;
|
||||
|
||||
$usernameValidator = v::alnum()->noWhitespace()->length(1,15);
|
||||
$usernameValidator = v::alnum()->noWhitespace()->length(1, 15);
|
||||
$usernameValidator->validate('alganet'); // true
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue