1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 11:45:56 +00:00

Revert "various fixes vor php 8.1 compatibility"

This reverts commit 14027ae04e.
This commit is contained in:
Andrew Dolgov
2021-12-01 13:37:35 +03:00
parent aaebe55456
commit a201e10ee0
9 changed files with 26 additions and 34 deletions

View File

@@ -201,7 +201,7 @@ class FeedParser {
// libxml may have invalid unicode data in error messages
function error() : string {
return UConverter::transcode($this->error ?? '', 'UTF-8', 'UTF-8');
return UConverter::transcode($this->error, 'UTF-8', 'UTF-8');
}
/** @return array<string> - WARNING: may return invalid unicode data */