PHP code should follow PSR-1 basic coding standard
This commit is contained in:
parent
da04f84933
commit
18dbcb89d6
|
@ -5,11 +5,6 @@ namespace Trinity\Component\Utils;
|
|||
class VarFilter
|
||||
{
|
||||
public static function sanitizeText($text)
|
||||
{
|
||||
return self::sanitize_text($text);
|
||||
}
|
||||
|
||||
public static function sanitize_text($text, $stripTag = true)
|
||||
{
|
||||
if ($stripTag) {
|
||||
$text = preg_replace('`</?[^>]+>`U', '', $text);
|
||||
|
|
Loading…
Reference in a new issue