mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-11 09:15:56 +00:00
deal with phpstan warnings in update.php
This commit is contained in:
@@ -378,7 +378,7 @@
|
||||
Debug::log("Exporting feeds of user $user to $filename as OPML...");
|
||||
|
||||
if ($owner_uid = UserHelper::find_user_by_login($user)) {
|
||||
$opml = new OPML("");
|
||||
$opml = new OPML([]);
|
||||
|
||||
$rc = $opml->opml_export($filename, $owner_uid, false, true, true);
|
||||
|
||||
@@ -394,7 +394,7 @@
|
||||
Debug::log("Importing feeds of user $user from OPML file $filename...");
|
||||
|
||||
if ($owner_uid = UserHelper::find_user_by_login($user)) {
|
||||
$opml = new OPML("");
|
||||
$opml = new OPML([]);
|
||||
|
||||
$rc = $opml->opml_import($owner_uid, $filename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user