summaryrefslogtreecommitdiff
path: root/src/ste/Misc.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/ste/Misc.php')
-rw-r--r--src/ste/Misc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ste/Misc.php b/src/ste/Misc.php
index 330b3d2..7118b28 100644
--- a/src/ste/Misc.php
+++ b/src/ste/Misc.php
@@ -8,7 +8,7 @@ class Misc
* @param string $text
* @return string
*/
- public static function escape_text($text)
+ public static function escape_text(string $text): string
{
return addcslashes($text, "\r\n\t\$\0..\x1f\\\"\x7f..\xff");
}