mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-15 09:57:41 +01:00
Remove type declaration for PHP 5 compatibility
This commit is contained in:
parent
d76a5a6d60
commit
8648f0c005
@ -76,7 +76,7 @@ class ContentProxy
|
||||
* @param String $rawText
|
||||
* @return string
|
||||
*/
|
||||
private function sanitizeUTF8Text(String $rawText) {
|
||||
private function sanitizeUTF8Text($rawText) {
|
||||
if (mb_check_encoding($rawText, 'utf-8')) {
|
||||
return $rawText; // return because its valid utf-8 text
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user