Skip to content

Commit

Permalink
Update files-size.md
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Graciá <miguelgraciamartin@gmail.com>
  • Loading branch information
miguelgracia committed Aug 7, 2020
1 parent 5125ff8 commit 002235d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/validators/file/files-size.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ use Laminas\Validator\File\FilesSize;

$validator = new FilesSize([
'min' => '1kB', // minimum of 1kB
'max' => `10MB', // maximum of 10MB
'max' => '10MB', // maximum of 10MB
]);

if ($validator->isValid($_FILES)) {
Expand Down

0 comments on commit 002235d

Please sign in to comment.