mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-06 00:49:47 +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
|
||||
* @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 a new issue