Skip to content

Commit

Permalink
UPDATE sanitizeUrl doc
Browse files Browse the repository at this point in the history
  • Loading branch information
enricodelazzari committed Mar 1, 2022
1 parent 527ae13 commit d4ab80a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ hlp()->anonymizeFilename($filename);

### `sanitizeUrl`

The `sanitizeUrl` function returns the lower case of the given url and prefixes it with the `https` protocol if none is set.
The `sanitizeUrl` function prepends the specified url with the `https` protocol if none is set.

```php
hlp()->sanitizeUrl('http://innovation.h-farm.com'); // returns 'http://innovation.h-farm.com'
Expand Down

0 comments on commit d4ab80a

Please sign in to comment.