]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Remove type declaration for PHP 5 compatibility
authorTobi823 <Tobi823@users.noreply.github.com>
Wed, 19 Sep 2018 09:03:42 +0000 (11:03 +0200)
committerTobi823 <Tobi823@users.noreply.github.com>
Fri, 21 Sep 2018 11:15:00 +0000 (13:15 +0200)
src/Wallabag/CoreBundle/Helper/ContentProxy.php

index 2628af190b3119a952394f382368c0ab914bfee9..29259bbdb6ca57e0f66927a1993b029e4036ceec 100644 (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
         }