mirror of
https://github.com/wallabag/wallabag.git
synced 2025-04-25 19:34:07 +00:00
Remove type declaration for PHP 5 compatibility
This commit is contained in:
parent
d76a5a6d60
commit
8648f0c005
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class ContentProxy
|
||||||
* @param String $rawText
|
* @param String $rawText
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
private function sanitizeUTF8Text(String $rawText) {
|
private function sanitizeUTF8Text($rawText) {
|
||||||
if (mb_check_encoding($rawText, 'utf-8')) {
|
if (mb_check_encoding($rawText, 'utf-8')) {
|
||||||
return $rawText; // return because its valid utf-8 text
|
return $rawText; // return because its valid utf-8 text
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue