Skip to content

Commit 8b53c17

Browse files
committed
Fix variant checking
1 parent b294015 commit 8b53c17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpBrew/Command/InstallCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ public function execute($version)
501501

502502
$this->logger->info("Congratulations! Now you have PHP with $version as $buildName");
503503

504-
if ($build->hasVariant('pdo') && $build->hasVariant('mysql')) {
504+
if ($build->isEnabledVariant('pdo') && $build->isEnabledVariant('mysql')) {
505505
echo <<<EOT
506506
507507
* We found that you enabled 'mysql' variant, you might need to setup your

0 commit comments

Comments
 (0)