From 31701412cf881fa34641facf35413381bb884c79 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 21 May 2016 19:03:12 +0200 Subject: [PATCH] Fix warnings about illegal array key type --- .../files/lib/system/cli/command/ImportCLICommand.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/lib/system/cli/command/ImportCLICommand.class.php b/wcfsetup/install/files/lib/system/cli/command/ImportCLICommand.class.php index c800bf5277..877c17a2a9 100644 --- a/wcfsetup/install/files/lib/system/cli/command/ImportCLICommand.class.php +++ b/wcfsetup/install/files/lib/system/cli/command/ImportCLICommand.class.php @@ -261,6 +261,7 @@ class ImportCLICommand implements ICLICommand { ])); while (true) { + /** @var string|null $exporterIndex */ $exporterIndex = CLIWCF::getReader()->readLine(WCF::getLanguage()->get('wcf.acp.dataImport.exporter').'> '); if ($exporterIndex === null) exit; @@ -350,6 +351,7 @@ class ImportCLICommand implements ICLICommand { } // read index of selected primary import data type + /** @var string|null $selectedObjectTypeIndex */ $selectedObjectTypeIndex = CLIWCF::getReader()->readLine(WCF::getLanguage()->get('wcf.acp.dataImport.configure.data').'> '); if ($selectedObjectTypeIndex === null) exit; -- 2.20.1