From 55c7dcb99d8da03f2a91f91f0deac4d525cf7b47 Mon Sep 17 00:00:00 2001 From: Matt Stauffer Date: Sat, 12 Mar 2022 00:23:00 -0500 Subject: [PATCH] Move string concat to one line --- cli/Valet/PhpFpm.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cli/Valet/PhpFpm.php b/cli/Valet/PhpFpm.php index a756466..661cdd3 100644 --- a/cli/Valet/PhpFpm.php +++ b/cli/Valet/PhpFpm.php @@ -222,12 +222,7 @@ public function unIsolateDirectory($directory) $site = $this->site->getSiteUrl($directory); if (!$site) { - throw new DomainException( - sprintf( - "The [%s] site could not be found in Valet's site list.", - $directory - ) - ); + throw new DomainException("The [{$directory}] site could not be found in Valet's site list."); } $oldCustomPhpVersion = $this->site->customPhpVersion($site); // Example output: "74"