Skip to content

Commit

Permalink
add FILTER_SANITIZE_URL filter to filter_var
Browse files Browse the repository at this point in the history
  • Loading branch information
kkmuffme committed Sep 18, 2023
1 parent 7d8d74d commit edbb9d5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public static function getFunctionReturnType(FunctionReturnTypeProviderEvent $ev
case FILTER_VALIDATE_URL:
case FILTER_VALIDATE_EMAIL:
case FILTER_VALIDATE_DOMAIN:
case FILTER_SANITIZE_URL:
$filter_type = Type::getString();
break;
}
Expand Down

0 comments on commit edbb9d5

Please sign in to comment.