diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Helper/ContentProxy.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/ContentProxy.php b/src/Wallabag/CoreBundle/Helper/ContentProxy.php index 2628af19..29259bbd 100644 --- a/src/Wallabag/CoreBundle/Helper/ContentProxy.php +++ b/src/Wallabag/CoreBundle/Helper/ContentProxy.php | |||
@@ -76,7 +76,7 @@ class ContentProxy | |||
76 | * @param String $rawText | 76 | * @param String $rawText |
77 | * @return string | 77 | * @return string |
78 | */ | 78 | */ |
79 | private function sanitizeUTF8Text(String $rawText) { | 79 | private function sanitizeUTF8Text($rawText) { |
80 | if (mb_check_encoding($rawText, 'utf-8')) { | 80 | if (mb_check_encoding($rawText, 'utf-8')) { |
81 | return $rawText; // return because its valid utf-8 text | 81 | return $rawText; // return because its valid utf-8 text |
82 | } | 82 | } |