Skip to content

Commit

Permalink
Fix xdebug and memcache (un)install command modes
Browse files Browse the repository at this point in the history
  • Loading branch information
mischabraam committed Feb 16, 2024
1 parent 4a0478c commit 2a30cf0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cli/valet.php
Original file line number Diff line number Diff line change
Expand Up @@ -600,12 +600,12 @@

$restart = false;
switch ($mode) {
case 'enable':
case 'on':
case 'install':
$restart = Xdebug::install();
break;
case 'disable':
case 'off':
case 'uninstall':
$restart = Xdebug::uninstall();
break;
}
Expand All @@ -626,12 +626,12 @@

$restart = false;
switch ($mode) {
case 'enable':
case 'on':
case 'install':
$restart = Memcache::install();
break;
case 'disable':
case 'off':
case 'uninstall':
$restart = Memcache::uninstall();
break;
}
Expand Down

0 comments on commit 2a30cf0

Please sign in to comment.