From: Matthias Schmidt Date: Sat, 21 May 2016 17:03:12 +0000 (+0200) Subject: Fix warnings about illegal array key type X-Git-Tag: 3.0.0_Beta_1~1681^2~10 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=31701412cf881fa34641facf35413381bb884c79;p=GitHub%2FWoltLab%2FWCF.git Fix warnings about illegal array key type --- 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;