aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorTobi823 <Tobi823@users.noreply.github.com>2018-09-19 11:03:42 +0200
committerTobi823 <Tobi823@users.noreply.github.com>2018-09-21 13:15:00 +0200
commit8648f0c00534e8af83b2a5451269d79906db6c16 (patch)
tree062f4d2f6c4ef66ce5afc6b8024171c5835d3bc9 /src
parentd76a5a6d60b6ee0d1f7efd0c8a70204f821ed99e (diff)
downloadwallabag-8648f0c00534e8af83b2a5451269d79906db6c16.tar.gz
wallabag-8648f0c00534e8af83b2a5451269d79906db6c16.tar.zst
wallabag-8648f0c00534e8af83b2a5451269d79906db6c16.zip
Remove type declaration for PHP 5 compatibility
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Helper/ContentProxy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/ContentProxy.php b/src/Wallabag/CoreBundle/Helper/ContentProxy.php
index 2628af19..29259bbd 100644
--- a/src/Wallabag/CoreBundle/Helper/ContentProxy.php
+++ b/src/Wallabag/CoreBundle/Helper/ContentProxy.php
@@ -76,7 +76,7 @@ class ContentProxy
76 * @param String $rawText 76 * @param String $rawText
77 * @return string 77 * @return string
78 */ 78 */
79 private function sanitizeUTF8Text(String $rawText) { 79 private function sanitizeUTF8Text($rawText) {
80 if (mb_check_encoding($rawText, 'utf-8')) { 80 if (mb_check_encoding($rawText, 'utf-8')) {
81 return $rawText; // return because its valid utf-8 text 81 return $rawText; // return because its valid utf-8 text
82 } 82 }