From 5ebee0b174e2060728a9416662c130ce1d57912d Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Fri, 16 Jun 2023 21:33:22 +0200 Subject: [PATCH] fix non php7.4 type --- src/Backend.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Backend.php b/src/Backend.php index fee7f7e..976a099 100644 --- a/src/Backend.php +++ b/src/Backend.php @@ -71,7 +71,7 @@ class Backend extends dcNsProcess $bk->alias = new Alias(); $bk->aliases = $bk->alias->getAliases(); }, - 'importFullV2' => function (bool|FlatBackupItem $line, FlatImportV2 $bk): void { + 'importFullV2' => function (/*bool|FlatBackupItem */$line, FlatImportV2 $bk): void { if ($line->__name == My::ALIAS_TABLE_NAME) { $bk->cur_alias->clean(); $bk->cur_alias->setField('blog_id', (string) $line->blog_id); @@ -81,7 +81,7 @@ class Backend extends dcNsProcess $bk->cur_alias->insert(); } }, - 'importSingleV2' => function (bool|FlatBackupItem $line, FlatImportV2 $bk): void { + 'importSingleV2' => function (/*bool|FlatBackupItem */$line, FlatImportV2 $bk): void { if ($line->__name == My::ALIAS_TABLE_NAME) { $found = false; foreach ($bk->aliases as $v) {