Fix warnings about illegal array key type
authorMatthias Schmidt <gravatronics@live.com>
Sat, 21 May 2016 17:03:12 +0000 (19:03 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 21 May 2016 18:42:02 +0000 (20:42 +0200)
wcfsetup/install/files/lib/system/cli/command/ImportCLICommand.class.php

index c800bf527712ac921929d98e711924d216486c13..877c17a2a97aaf8e496fb5aca499259a6339d157 100644 (file)
@@ -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;