Skip to content

Commit

Permalink
Fixes missing Swoole error (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro authored Nov 26, 2021
1 parent df592e5 commit bbbade6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ public function installRoadRunnerServer()
public function installSwooleServer()
{
if (! resolve(SwooleExtension::class)->isInstalled()) {
$this->error('The Swoole extension is missing.');

return false;
$this->warn('The Swoole extension is missing.');
}

return true;
Expand Down

0 comments on commit bbbade6

Please sign in to comment.