Skip to content

Commit

Permalink
Update Validation.php
Browse files Browse the repository at this point in the history
Updated the docblock to make it more descriptive of what the rule values should be. As it's linked in the Book to the API docs.
  • Loading branch information
davidyell committed Oct 23, 2014
1 parent efb381c commit 90c60bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Validation/Validation.php
Expand Up @@ -964,11 +964,11 @@ public static function uploadError($check, $allowNoFile = false) {
*
* ### Options
*
* - `types` - A list of valid mime types. If empty all types
* - `types` - An array of valid mime types. If empty all types
* will be accepted. The `type` will not be looked at, instead
* the file type will be checked with ext/finfo.
* - `minSize` - The minimum file size. Defaults to not checking.
* - `maxSize` - The maximum file size. Defaults to not checking.
* - `minSize` - The minimum file size in bytes. Defaults to not checking.
* - `maxSize` - The maximum file size in bytes. Defaults to not checking.
* - `optional` - Whether or not this file is optional. Defaults to false.
* If true a missing file will pass the validator regardless of other constraints.
*
Expand Down

0 comments on commit 90c60bd

Please sign in to comment.