Skip to content

Commit 14ae834

Browse files
author
Sergii Kovalenko
committed
MAGETWO-91034: Renaming of new setup commands and setup:install/setup:upgrade attributes
1 parent 44ed7b8 commit 14ae834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup/src/Magento/Setup/Console/Command/InstallCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public function validate(InputInterface $input) : array
283283
{
284284
$errors = [];
285285
$value = $input->getOption(self::INPUT_KEY_SALES_ORDER_INCREMENT_PREFIX);
286-
if (preg_match(self::SALES_ORDER_INCREMENT_PREFIX_RULE, $value) != 1) {
286+
if (preg_match(self::SALES_ORDER_INCREMENT_PREFIX_RULE, (string) $value) != 1) {
287287
$errors[] = 'Validation failed, ' . self::INPUT_KEY_SALES_ORDER_INCREMENT_PREFIX
288288
. ' must be 20 characters or less';
289289
}

0 commit comments

Comments
 (0)