Update validation.md

This commit is contained in:
Taylor Otwell 2018-03-30 08:10:50 -05:00 committed by GitHub
parent e835ac11fd
commit d3df222c80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1072,7 +1072,7 @@ Once the rule has been defined, you may attach it to a validator by passing an i
use App\Rules\Uppercase;
$request->validate([
'name' => ['required', 'string', new Uppercase, 'max:255'],
'name' => ['required', 'string', new Uppercase],
]);
<a name="using-closures"></a>