Skip to content

Commit

Permalink
validation: remove mention of filter_var
Browse files Browse the repository at this point in the history
The current implementation doesn't use `filter_var` but a regex.

See https://github.com/laravel/framework/blob/5.2/src/Illuminate/Validation/Validator.php#L1488-L1512
  • Loading branch information
mfn authored Jul 3, 2016
1 parent f674275 commit d9323d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ In the rule above, only rows with an `account_id` of `1` would be included in th
<a name="rule-url"></a>
#### url

The field under validation must be a valid URL according to PHP's `filter_var` function.
The field under validation must be a valid URL.

<a name="conditionally-adding-rules"></a>
## Conditionally Adding Rules
Expand Down

0 comments on commit d9323d0

Please sign in to comment.