diff options
| author | Freya Murphy <freya@freyacat.org> | 2024-07-08 17:22:30 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2024-07-08 17:22:30 -0400 |
| commit | 8a2c577823b69117af8eda9b1a46bfbcae8153c6 (patch) | |
| tree | e89dee0f77377a665c78d8a3cea6012888d9af73 /src/web/helpers/sanitize.php | |
| parent | fix2 (diff) | |
| download | website-8a2c577823b69117af8eda9b1a46bfbcae8153c6.tar.gz website-8a2c577823b69117af8eda9b1a46bfbcae8153c6.tar.bz2 website-8a2c577823b69117af8eda9b1a46bfbcae8153c6.zip | |
a few fixes, just a few....
Diffstat (limited to '')
| -rw-r--r-- | src/web/helpers/sanitize.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/helpers/sanitize.php b/src/web/helpers/sanitize.php index 5d37852..495c249 100644 --- a/src/web/helpers/sanitize.php +++ b/src/web/helpers/sanitize.php @@ -1,6 +1,6 @@ <?php /* Copyright (c) 2024 Freya Murphy */ -function esc($data) { +function esc(string $data): string { $data = str_replace('&', '&', $data); $data = str_replace('<', '<', $data); $data = str_replace('>', '>', $data); |