PHP code should follow PSR-1 basic coding standard

This commit is contained in:
Simon Vieille 2015-03-05 17:59:11 +01:00
parent da04f84933
commit 18dbcb89d6

View file

@ -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);