We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44ed7b8 commit 14ae834Copy full SHA for 14ae834
setup/src/Magento/Setup/Console/Command/InstallCommand.php
@@ -283,7 +283,7 @@ public function validate(InputInterface $input) : array
283
{
284
$errors = [];
285
$value = $input->getOption(self::INPUT_KEY_SALES_ORDER_INCREMENT_PREFIX);
286
- if (preg_match(self::SALES_ORDER_INCREMENT_PREFIX_RULE, $value) != 1) {
+ if (preg_match(self::SALES_ORDER_INCREMENT_PREFIX_RULE, (string) $value) != 1) {
287
$errors[] = 'Validation failed, ' . self::INPUT_KEY_SALES_ORDER_INCREMENT_PREFIX
288
. ' must be 20 characters or less';
289
}
0 commit comments