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
|
* @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…
x
Reference in New Issue
Block a user