Remove type declaration for PHP 5 compatibility

This commit is contained in:
Tobi823 2018-09-19 11:03:42 +02:00
parent d76a5a6d60
commit 8648f0c005

View file

@ -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
}