1
0
Fork 0

Fix phpstan error

pull/10996/head
Jordi Boggiano 2022-08-16 11:19:20 +02:00
parent 6457a88aa1
commit 598c1c7573
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ abstract class BaseCommand extends Command
}
}
if (true == $input->hasOption('update-no-dev')) {
if (!$input->getOption('update-no-dev') && true == Platform::getEnv('COMPOSER_NO_DEV')) {
if (true !== $input->getOption('update-no-dev') && true == Platform::getEnv('COMPOSER_NO_DEV')) {
$input->setOption('update-no-dev', true);
}
}