From 2a30cf0c1c3dc8356da2e838fbb3a94b24c80835 Mon Sep 17 00:00:00 2001 From: Mischa Braam Date: Fri, 16 Feb 2024 11:46:23 +0100 Subject: [PATCH] Fix xdebug and memcache (un)install command modes --- cli/valet.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/valet.php b/cli/valet.php index 01845f9f..4b237b6a 100755 --- a/cli/valet.php +++ b/cli/valet.php @@ -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; } @@ -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; }