summaryrefslogtreecommitdiff
path: root/src/ste/Misc.php
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-04-26 16:48:01 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-04-26 16:48:01 +0200
commitbfd4763b4f831ed9eccbdd4717c98b7d95999d2e (patch)
tree73538562b347386a24e3b81f443a0b61309fe3de /src/ste/Misc.php
parent2464ac4fa63ccd169f36849a1f7372191066f305 (diff)
downloadste-bfd4763b4f831ed9eccbdd4717c98b7d95999d2e.tar.gz
ste-bfd4763b4f831ed9eccbdd4717c98b7d95999d2e.tar.bz2
ste-bfd4763b4f831ed9eccbdd4717c98b7d95999d2e.zip
Some simple code formatting
- Expand tabs into spaces - Remove trailing whitespace - Get rid of closing `?>` tags
Diffstat (limited to 'src/ste/Misc.php')
-rw-r--r--src/ste/Misc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ste/Misc.php b/src/ste/Misc.php
index 56ae759..39ad30c 100644
--- a/src/ste/Misc.php
+++ b/src/ste/Misc.php
@@ -3,7 +3,7 @@
namespace kch42\ste;
class Misc {
- public static function escape_text($text) {
- return addcslashes($text, "\r\n\t\$\0..\x1f\\\"\x7f..\xff");
- }
+ public static function escape_text($text) {
+ return addcslashes($text, "\r\n\t\$\0..\x1f\\\"\x7f..\xff");
+ }
}